-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize file names in integration-tests #5513
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ exports[`babel-jest instruments only specific files and collects coverage 1`] = | |
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------|----------|----------|----------|----------|----------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated this snapshot since name changed |
||
------------|----------|----------|----------|----------|----------------| | ||
" | ||
`; | ||
|
@@ -24,7 +24,7 @@ exports[`no babel-jest instrumentation with no babel-jest 1`] = ` | |
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------|----------|----------|----------|----------|----------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
------------|----------|----------|----------|----------|----------------| | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
'use strict'; | ||
|
||
const SkipOnWindows = require('../../scripts/SkipOnWindows'); | ||
const {cleanup, extractSummary, writeFiles} = require('../utils'); | ||
const {cleanup, extractSummary, writeFiles} = require('../Utils'); | ||
const runJest = require('../runJest'); | ||
const os = require('os'); | ||
const path = require('path'); | ||
|
@@ -24,7 +24,7 @@ describe('Custom Reporters Integration', () => { | |
|
||
test('valid string format for adding reporters', () => { | ||
const reporterConfig = { | ||
reporters: ['<rootDir>/reporters/test_reporter.js'], | ||
reporters: ['<rootDir>/reporters/TestReporter.js'], | ||
}; | ||
|
||
const {status} = runJest('custom-reporters', [ | ||
|
@@ -39,10 +39,7 @@ describe('Custom Reporters Integration', () => { | |
test('valid array format for adding reporters', () => { | ||
const reporterConfig = { | ||
reporters: [ | ||
[ | ||
'<rootDir>/reporters/test_reporter.js', | ||
{'Dmitrii Abramov': 'Awesome'}, | ||
], | ||
['<rootDir>/reporters/TestReporter.js', {'Dmitrii Abramov': 'Awesome'}], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. prettier was failing on this, so i changed it until atom didn't complain |
||
], | ||
}; | ||
|
||
|
@@ -75,7 +72,7 @@ describe('Custom Reporters Integration', () => { | |
const {stderr, stdout, status} = runJest('custom-reporters', [ | ||
'--config', | ||
JSON.stringify({ | ||
reporters: ['default', '<rootDir>/reporters/test_reporter.js'], | ||
reporters: ['default', '<rootDir>/reporters/TestReporter.js'], | ||
}), | ||
'add.test.js', | ||
]); | ||
|
@@ -118,7 +115,7 @@ describe('Custom Reporters Integration', () => { | |
'--no-cache', | ||
'--config', | ||
JSON.stringify({ | ||
reporters: ['<rootDir>/reporters/incomplete_reporter.js'], | ||
reporters: ['<rootDir>/reporters/IncompleteReporter.js'], | ||
}), | ||
'add.test.js', | ||
]); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated this snapshot because of file names changing, but if you look, you can see no number changed 👍