Skip to content

Commit 0580b5b

Browse files
jamischarlescpojer
authored andcommitted
Standardize file names: Fix integration folder names (#5298)
* chore(filenames): use dash for integration_tests/ * chore(filenames): fix intergration-tests subfolders Fixes all the folder names in the integration-tests folder to follow Facebook internal file / folder naming conventions. This is the first of several incremental PRs.
1 parent 09e47d6 commit 0580b5b

File tree

386 files changed

+105
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

386 files changed

+105
-99
lines changed

.eslintrc.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646
},
4747
},
4848
{
49-
files: ['scripts/**/*', 'integration_tests/**/*'],
49+
files: ['scripts/**/*', 'integration-tests/**/*'],
5050
rules: {
5151
'babel/func-params-comma-dangle': 0,
5252
'unicorn/filename-case': 0,
@@ -83,11 +83,11 @@ module.exports = {
8383
},
8484
},
8585
{
86-
excludedFiles: 'integration_tests/__tests__/**/*',
86+
excludedFiles: 'integration-tests/__tests__/**/*',
8787
files: [
8888
'examples/**/*',
8989
'scripts/**/*',
90-
'integration_tests/*/**/*',
90+
'integration-tests/*/**/*',
9191
'website/*/**/*',
9292
'eslint_import_resolver.js',
9393
],
@@ -105,7 +105,7 @@ module.exports = {
105105
},
106106
{
107107
files: [
108-
'integration_tests/__tests__/**/*',
108+
'integration-tests/__tests__/**/*',
109109
'packages/babel-jest/**/*.test.js',
110110
'packages/babel-plugin-jest-hoist/**/*.test.js',
111111
'packages/babel-preset-jest/**/*.test.js',
@@ -127,7 +127,7 @@ module.exports = {
127127
files: [
128128
'website/**',
129129
'**/__tests__/**',
130-
'integration_tests/**',
130+
'integration-tests/**',
131131
'**/pretty-format/perf/**',
132132
],
133133
rules: {

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*~
55
/examples/*/node_modules/
66

7-
/integration_tests/*/node_modules
8-
/integration_tests/transform/*/coverage
9-
/integration_tests/transform/*/node_modules
7+
/integration-tests/*/node_modules
8+
/integration-tests/transform/*/coverage
9+
/integration-tests/transform/*/node_modules
1010

1111
/node_modules
1212

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

docs/SnapshotTesting.md

Lines changed: 1 addition & 1 deletion

integration_tests/__tests__/__snapshots__/coverage_report.test.js.snap renamed to integration-tests/__tests__/__snapshots__/coverage_report.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ exports[`outputs coverage report 1`] = `
4747
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
4848
-------------------------------------|----------|----------|----------|----------|----------------|
4949
All files | 56.52 | 0 | 50 | 56.52 | |
50-
coverage_report | 41.18 | 0 | 25 | 41.18 | |
50+
coverage-report | 41.18 | 0 | 25 | 41.18 | |
5151
not-required-in-test-suite.js | 0 | 0 | 0 | 0 | 8,15,16,17,19 |
5252
other-file.js | 100 | 100 | 100 | 100 | |
5353
sum.js | 85.71 | 100 | 50 | 85.71 | 12 |
5454
sum_dependency.js | 0 | 0 | 0 | 0 | 8,10,11,14 |
55-
coverage_report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
55+
coverage-report/cached-duplicates/a | 100 | 100 | 100 | 100 | |
5656
identical.js | 100 | 100 | 100 | 100 | |
57-
coverage_report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
57+
coverage-report/cached-duplicates/b | 100 | 100 | 100 | 100 | |
5858
identical.js | 100 | 100 | 100 | 100 | |
5959
-------------------------------------|----------|----------|----------|----------|----------------|
6060
"

0 commit comments

Comments
 (0)