Skip to content
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 filenames in e2e #7471

Merged
merged 75 commits into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
9cca3e5
standardizing file names to fit facebook standards
GGonryun Dec 5, 2018
455cedc
updating filenames to better fit facebook standards
GGonryun Dec 5, 2018
1284004
Merge remote-tracking branch 'upstream/master' into standardize/bad-s…
GGonryun Dec 5, 2018
35777a4
standardizing jest-runner filenames to fit facebook standards
GGonryun Dec 5, 2018
9d4c6b2
Merge remote-tracking branch 'upstream/master' into standardize/bad-s…
GGonryun Dec 6, 2018
91564fd
standardizing file names in /e2e/before-all-filtered
GGonryun Dec 6, 2018
7094578
resolving naming discrepencies inside of files
GGonryun Dec 6, 2018
877fdd3
standardizing filenames in e2e/before-each-queue and corresponding tests
GGonryun Dec 6, 2018
bf3add4
standardizing several tests in ./e2e/__test__/
GGonryun Dec 6, 2018
adb8e94
standardizing filenames for babel-plugin-jest-hoist and related test …
GGonryun Dec 6, 2018
997cb1d
standardizing file-names for folders 'browser-support' and 'clear-cac…
GGonryun Dec 6, 2018
da4f857
resolving issue with karma referencing non-standard browserTest
GGonryun Dec 6, 2018
08c133d
resolving issue with karma referencing non-standard browserTest filename
GGonryun Dec 6, 2018
e28719e
fixing typo
GGonryun Dec 6, 2018
7abaa4f
standardizing file names to fit facebook standards
GGonryun Dec 5, 2018
b9c1a24
updating filenames to better fit facebook standards
GGonryun Dec 5, 2018
82e248f
Add issue template labels (#7470)
rickhanlonii Dec 5, 2018
cf5c278
standardizing jest-runner filenames to fit facebook standards
GGonryun Dec 5, 2018
a22f210
allow `bail` setting to control when to bail out of a failing test ru…
bookman25 Dec 6, 2018
2dc4507
standardizing file names in /e2e/before-all-filtered
GGonryun Dec 6, 2018
47ffefd
resolving naming discrepencies inside of files
GGonryun Dec 6, 2018
9fc9605
standardizing filenames in e2e/before-each-queue and corresponding tests
GGonryun Dec 6, 2018
e7d043a
standardizing several tests in ./e2e/__test__/
GGonryun Dec 6, 2018
b859903
standardizing filenames for babel-plugin-jest-hoist and related test …
GGonryun Dec 6, 2018
f95a3df
standardizing file-names for folders 'browser-support' and 'clear-cac…
GGonryun Dec 6, 2018
7672d37
resolving issue with karma referencing non-standard browserTest
GGonryun Dec 6, 2018
01b4919
resolving issue with karma referencing non-standard browserTest filename
GGonryun Dec 6, 2018
d203040
standardizing file names in e2e/__test__
GGonryun Dec 6, 2018
d01cba5
standardizing file names in compare-dom-nodes
GGonryun Dec 6, 2018
1a4a51f
Merge branch 'standardize/bad-source-map' of github.com:GGonryun/jest…
GGonryun Dec 9, 2018
50bb83c
resolving merge conflicts with master
GGonryun Dec 9, 2018
af8afa8
standardizing file names for coverage-report and coverage-remap
GGonryun Dec 9, 2018
c945b6d
rebasing with master
GGonryun Dec 19, 2018
e994e05
updating case sensitive filenames
GGonryun Dec 19, 2018
178f8a4
resolving merge conflicts with upstream master
GGonryun Dec 27, 2018
f12f4fd
renaming files to fit facebook standards
GGonryun Dec 27, 2018
3836b81
Merge remote-tracking branch 'upstream/master' into standardize/bad-s…
GGonryun Dec 27, 2018
ff9259a
adding case sensitive file changes
GGonryun Dec 27, 2018
707776c
resolving dependency issues after renaming case sensitive files.
GGonryun Dec 27, 2018
7fba92a
standardizing file names to fit facebook standards
GGonryun Dec 28, 2018
6d701df
adjusting file names and snapshots to fit facebook standards
GGonryun Dec 28, 2018
ea08149
adjusting file names to fit facebook standards
GGonryun Dec 28, 2018
9a1902a
resolves bug with nodeAssertionError not being found by test suite
GGonryun Dec 28, 2018
047222c
changing references to match file name
GGonryun Dec 28, 2018
04de075
changing file name to check test-jest-circus
GGonryun Dec 29, 2018
f406de5
readding a previously deleted snapshot
GGonryun Jan 1, 2019
fea61bd
Update e2e/bad-source-map/__tests__/badSourceMap.js comment to reflec…
thymikee Jan 2, 2019
415e360
improving file naming conventions letters g & j
GGonryun Jan 5, 2019
e1e2fdf
changing filename to fit facebook standards
GGonryun Jan 5, 2019
de623d6
resolving merge issues by incorporating new snapshots
GGonryun Jan 5, 2019
62757a1
renaming filenames to fit facebook standards for 'L'
GGonryun Jan 5, 2019
14749bd
renaming filenames to fit facebook standards for 'M'
GGonryun Jan 5, 2019
c8be349
renaming filenames to fit facebook standards for 'N'
GGonryun Jan 5, 2019
9aa95ec
resolving leftover merge conflicts
GGonryun Jan 5, 2019
23d5fec
reverting error in naming by changing filename back to uppercase
GGonryun Jan 5, 2019
9054d32
renaming filenames 'O' to fit facebook standards.
GGonryun Jan 8, 2019
fd26db0
renaming filenames 'P' to fit facebook standards.
GGonryun Jan 8, 2019
319d43d
renaming filenames 'R' to fit facebook standards.
GGonryun Jan 8, 2019
ad232d3
Merge remote-tracking branch 'upstream/master' into standardize/bad-s…
GGonryun Jan 8, 2019
e17f8ec
renaming filenames 'S' to fit facebook standards.
GGonryun Jan 9, 2019
ca607e3
changing regex to match temporary folder name
GGonryun Jan 9, 2019
1e7dba1
renaming filenames 'T' to fit facebook standards.
GGonryun Jan 9, 2019
689f424
renaming filenames 'U' to fit facebook standards.
GGonryun Jan 9, 2019
79fbd8e
renaming filenames 'V' to fit facebook standards.
GGonryun Jan 9, 2019
8771cd8
renaming filenames 'W' to fit facebook standards.
GGonryun Jan 9, 2019
7ef73d7
updating snapshots to reflect standardized file names
GGonryun Jan 9, 2019
d6655ea
Rename e2e/test-name-pattern-skipped/package.json to e2e/test-name-pa…
GGonryun Jan 10, 2019
755daf3
Rename e2e/test-name-pattern/package.json to e2e/test-name-pattern-sk…
GGonryun Jan 10, 2019
be3fef3
Rename e2e/test-name-pattern-skipped/package.json to e2e/test-name-pa…
GGonryun Jan 10, 2019
1f5c30f
Rename e2e/test-name-pattern-temp/package.json to e2e/test-name-patte…
GGonryun Jan 10, 2019
6ba6c8f
Rename e2e/test-name-pattern.package.json to e2e/test-name-pattern-sk…
GGonryun Jan 10, 2019
e94bbe8
Merge remote-tracking branch 'upstream/master' into standardize/bad-s…
GGonryun Jan 10, 2019
f6db9ce
Merge branch 'standardize/bad-source-map' of github.com:GGonryun/jest…
GGonryun Jan 10, 2019
373b417
removing left over files and adjusting file names previously missed
GGonryun Jan 10, 2019
c687f6c
deleting more leftover files
GGonryun Jan 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
- `[jest-haste-map]` Refactor `dependencyExtractor` and tests ([#7385](https://github.com/facebook/jest/pull/7385))
- `[docs]` Clearify conditional setting of `NODE_ENV` ([#7369](https://github.com/facebook/jest/pull/7369))
- `[docs]` Clarify conditional setting of `NODE_ENV` ([#7369](https://github.com/facebook/jest/pull/7369))
- `[*]` Standardize file names ([#7316](https://github.com/facebook/jest/pull/7316), [#7266](https://github.com/facebook/jest/pull/7266), [#7238](https://github.com/facebook/jest/pull/7238), [#7314](https://github.com/facebook/jest/pull/7314), [#7467](https://github.com/facebook/jest/pull/7467), [#7464](https://github.com/facebook/jest/pull/7464))
- `[*]` Standardize file names ([#7316](https://github.com/facebook/jest/pull/7316), [#7266](https://github.com/facebook/jest/pull/7266), [#7238](https://github.com/facebook/jest/pull/7238), [#7314](https://github.com/facebook/jest/pull/7314), [#7467](https://github.com/facebook/jest/pull/7467), [#7464](https://github.com/facebook/jest/pull/7464)), [#7471](https://github.com/facebook/jest/pull/7471))
- `[docs]` Add `testPathIgnorePatterns` in CLI documentation ([#7440](https://github.com/facebook/jest/pull/7440))
- `[docs]` Removed misleading text about `describe()` grouping together tests into a test suite ([#7434](https://github.com/facebook/jest/pull/7434))

Expand Down
19 changes: 0 additions & 19 deletions e2e/__tests__/__snapshots__/before-all-filtered.js.snap

This file was deleted.

19 changes: 0 additions & 19 deletions e2e/__tests__/__snapshots__/before-each-queue.js.snap

This file was deleted.

19 changes: 19 additions & 0 deletions e2e/__tests__/__snapshots__/beforeAllFiltered.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Correct BeforeAll run ensures the BeforeAll of ignored suite is not run 1`] = `
" console.log __tests__/beforeAllFiltered.test.js:5
beforeAll 1

console.log __tests__/beforeAllFiltered.test.js:8
beforeEach 1

console.log __tests__/beforeAllFiltered.test.js:17
It Foo

console.log __tests__/beforeAllFiltered.test.js:11
afterEach 1

console.log __tests__/beforeAllFiltered.test.js:14
afterAll 1
"
`;
19 changes: 19 additions & 0 deletions e2e/__tests__/__snapshots__/beforeEachQueue.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Correct beforeEach order ensures the correct order for beforeEach 1`] = `
" console.log __tests__/beforeEachQueue.test.js:5
BeforeEach

console.log __tests__/beforeEachQueue.test.js:9
It Foo

console.log __tests__/beforeEachQueue.test.js:12
BeforeEach Inline Foo

console.log __tests__/beforeEachQueue.test.js:5
BeforeEach

console.log __tests__/beforeEachQueue.test.js:17
It Bar
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---------------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
a | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
b | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
---------------|----------|----------|----------|----------|-------------------|"
`;

Expand All @@ -17,7 +17,7 @@ exports[`collects coverage only from multiple specified files 1`] = `
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
--------------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
OtherFile.js | 100 | 100 | 100 | 100 | |
otherFile.js | 100 | 100 | 100 | 100 | |
setup.js | 100 | 100 | 100 | 100 | |
--------------|----------|----------|----------|----------|-------------------|"
`;
Expand All @@ -36,7 +36,7 @@ exports[`collects coverage only from specified files avoiding dependencies 1`] =
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 85.71 | 100 | 50 | 100 | |
Sum.js | 85.71 | 100 | 50 | 100 | |
sum.js | 85.71 | 100 | 50 | 100 | |
----------|----------|----------|----------|----------|-------------------|"
`;

Expand All @@ -48,14 +48,14 @@ File | % Stmts | % Branch | % Funcs | % Lines
-------------------------------------|----------|----------|----------|----------|-------------------|
All files | 56.52 | 0 | 50 | 55.56 | |
coverage-report | 41.18 | 0 | 25 | 42.86 | |
OtherFile.js | 100 | 100 | 100 | 100 | |
Sum.js | 85.71 | 100 | 50 | 100 | |
SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 |
otherFile.js | 100 | 100 | 100 | 100 | |
sum.js | 85.71 | 100 | 50 | 100 | |
sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
-------------------------------------|----------|----------|----------|----------|-------------------|"
`;

Expand All @@ -74,14 +74,14 @@ File | % Stmts | % Branch | % Funcs | % Lines
-------------------------------------|----------|----------|----------|----------|-------------------|
All files | 56.52 | 0 | 50 | 55.56 | |
coverage-report | 41.18 | 0 | 25 | 42.86 | |
OtherFile.js | 100 | 100 | 100 | 100 | |
Sum.js | 85.71 | 100 | 50 | 100 | |
SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 |
otherFile.js | 100 | 100 | 100 | 100 | |
sum.js | 85.71 | 100 | 50 | 100 | |
sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
-------------------------------------|----------|----------|----------|----------|-------------------|"
`;

Expand All @@ -98,14 +98,14 @@ File | % Stmts | % Branch | % Funcs | % Lines
-------------------------------------|----------|----------|----------|----------|-------------------|
All files | 56.52 | 0 | 50 | 55.56 | |
coverage-report | 41.18 | 0 | 25 | 42.86 | |
OtherFile.js | 100 | 100 | 100 | 100 | |
Sum.js | 85.71 | 100 | 50 | 100 | |
SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 |
otherFile.js | 100 | 100 | 100 | 100 | |
sum.js | 85.71 | 100 | 50 | 100 | |
sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
-------------------------------------|----------|----------|----------|----------|-------------------|"
`;

Expand All @@ -115,14 +115,14 @@ File | % Stmts | % Branch | % Funcs | % Lines
-------------------------------------|----------|----------|----------|----------|-------------------|
All files | 56.52 | 0 | 50 | 55.56 | |
coverage-report | 41.18 | 0 | 25 | 42.86 | |
OtherFile.js | 100 | 100 | 100 | 100 | |
Sum.js | 85.71 | 100 | 50 | 100 | |
SumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
notRequiredInTestSuite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 |
otherFile.js | 100 | 100 | 100 | 100 | |
sum.js | 85.71 | 100 | 50 | 100 | |
sumDependency.js | 0 | 0 | 0 | 0 | 8,10,12 |
coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
Identical.js | 100 | 100 | 100 | 100 | |
identical.js | 100 | 100 | 100 | 100 | |
-------------------------------------|----------|----------|----------|----------|-------------------|"
`;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`works with custom matchers 1`] = `
"FAIL __tests__/custom_matcher.test.js
"FAIL __tests__/customMatcher.test.js
Custom matcher
✓ passes
✓ fails
Expand All @@ -19,12 +19,12 @@ exports[`works with custom matchers 1`] = `
47 |
48 | // This expecation fails due to an error we throw (intentionally)

at Error (__tests__/custom_matcher.test.js:45:13)
at baz (__tests__/custom_matcher.test.js:43:23)
at bar (__tests__/custom_matcher.test.js:42:23)
at foo (__tests__/custom_matcher.test.js:52:7)
at Object.callback (__tests__/custom_matcher.test.js:11:18)
at Object.toCustomMatch (__tests__/custom_matcher.test.js:53:8)
at Error (__tests__/customMatcher.test.js:45:13)
at baz (__tests__/customMatcher.test.js:43:23)
at bar (__tests__/customMatcher.test.js:42:23)
at foo (__tests__/customMatcher.test.js:52:7)
at Object.callback (__tests__/customMatcher.test.js:11:18)
at Object.toCustomMatch (__tests__/customMatcher.test.js:53:8)

"
`;
12 changes: 6 additions & 6 deletions e2e/__tests__/__snapshots__/each.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports[`formats args with pretty format when given %p 1`] = `
`;

exports[`runs only the describe.only.each tests 1`] = `
"PASS __tests__/describe-only.test.js
"PASS __tests__/describeOnly.test.js
passes all rows expected true == true
✓ passes
✓ passes
Expand All @@ -46,7 +46,7 @@ exports[`runs only the describe.only.each tests 1`] = `
`;

exports[`shows error message when not enough arguments are supplied to tests 1`] = `
"FAIL __tests__/each-exception.test.js
"FAIL __tests__/eachException.test.js
✕ throws exception when one argument too few are supplied $left == $right
✕ throws exception when not enough arguments are supplied $left == $right

Expand All @@ -72,7 +72,7 @@ exports[`shows error message when not enough arguments are supplied to tests 1`]
10 | \${true} | \${true}
11 | \${true}

at Object.<anonymous> (__tests__/each-exception.test.js:8:1)
at Object.<anonymous> (__tests__/eachException.test.js:8:1)

● throws exception when not enough arguments are supplied $left == $right

Expand All @@ -95,13 +95,13 @@ exports[`shows error message when not enough arguments are supplied to tests 1`]
21 | \${true} | \${true}
22 | \`(

at Object.<anonymous> (__tests__/each-exception.test.js:19:1)
at Object.<anonymous> (__tests__/eachException.test.js:19:1)

"
`;

exports[`shows only the tests with .only as being ran 1`] = `
"PASS __tests__/each-only.test.js
"PASS __tests__/eachOnly.test.js
✓ passes one row expected true == true
✓ passes one row expected true == true
✓ passes one row expected true == true
Expand All @@ -112,7 +112,7 @@ exports[`shows only the tests with .only as being ran 1`] = `
`;

exports[`shows only the tests without .skip as being ran 1`] = `
"PASS __tests__/each-skip.test.js
"PASS __tests__/eachSkip.test.js
✓ passes one row expected true == true
✓ passes one row expected true == true
✓ passes one row expected true == true
Expand Down
Loading