diff --git a/.eslintrc.js b/.eslintrc.js index acf53a21d60e..837928d4a61d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -44,7 +44,7 @@ module.exports = { }, }, { - files: ['scripts/**/*', 'integration-tests/**/*'], + files: ['scripts/**/*', 'e2e/**/*'], rules: { 'babel/func-params-comma-dangle': 0, }, @@ -56,14 +56,11 @@ module.exports = { }, }, { - excludedFiles: [ - 'integration-tests/__tests__/**/*', - 'website/versioned_docs/**/*.md', - ], + excludedFiles: ['e2e/__tests__/**/*', 'website/versioned_docs/**/*.md'], files: [ 'examples/**/*', 'scripts/**/*', - 'integration-tests/*/**/*', + 'e2e/*/**/*', 'website/*/**/*', 'eslintImportResolver.js', ], @@ -81,7 +78,7 @@ module.exports = { }, { files: [ - 'integration-tests/__tests__/**/*', + 'e2e/__tests__/**/*', 'packages/babel-jest/**/*.test.js', 'packages/babel-plugin-jest-hoist/**/*.test.js', 'packages/babel-preset-jest/**/*.test.js', @@ -103,7 +100,7 @@ module.exports = { files: [ 'website/**', '**/__tests__/**', - 'integration-tests/**', + 'e2e/**', '**/pretty-format/perf/**', ], rules: { diff --git a/.gitignore b/.gitignore index 31a19105ed56..fde0ef986586 100644 --- a/.gitignore +++ b/.gitignore @@ -4,11 +4,11 @@ *~ /examples/*/node_modules/ -/integration-tests/*/node_modules -!/integration-tests/presets/json/node_modules -!/integration-tests/presets/js/node_modules -/integration-tests/transform/*/coverage -/integration-tests/transform/*/node_modules +/e2e/*/node_modules +!/e2e/presets/json/node_modules +!/e2e/presets/js/node_modules +/e2e/transform/*/coverage +/e2e/transform/*/node_modules /node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f37dede68c7..0e66770d1e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ * `[expect]` toMatchObject throws TypeError when a source property is null ([#6313](https://github.com/facebook/jest/pull/6313)) * `[jest-cli]` Normalize slashes in paths in CLI output on Windows ((#6310)[https://github.com/facebook/jest/pull/6310]) +### Chore & Maintenance + +* `[filenames]` Rename "integration-tests" to "e2e" ([#6315](https://github.com/facebook/jest/pull/6315)) + ## 23.0.1 ### Chore & Maintenance diff --git a/docs/SnapshotTesting.md b/docs/SnapshotTesting.md index 34604df86e23..dd5dbd1c4d2d 100644 --- a/docs/SnapshotTesting.md +++ b/docs/SnapshotTesting.md @@ -222,7 +222,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration-tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing? diff --git a/integration-tests/Utils.js b/e2e/Utils.js similarity index 100% rename from integration-tests/Utils.js rename to e2e/Utils.js diff --git a/integration-tests/__tests__/__snapshots__/before-each-queue.js.snap b/e2e/__tests__/__snapshots__/before-each-queue.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/before-each-queue.js.snap rename to e2e/__tests__/__snapshots__/before-each-queue.js.snap diff --git a/integration-tests/__tests__/__snapshots__/cli-handles-exact-filenames.test.js.snap b/e2e/__tests__/__snapshots__/cli-handles-exact-filenames.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/cli-handles-exact-filenames.test.js.snap rename to e2e/__tests__/__snapshots__/cli-handles-exact-filenames.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/console.test.js.snap b/e2e/__tests__/__snapshots__/console.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/console.test.js.snap rename to e2e/__tests__/__snapshots__/console.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/console_log_output_when_run_in_band.test.js.snap b/e2e/__tests__/__snapshots__/console_log_output_when_run_in_band.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/console_log_output_when_run_in_band.test.js.snap rename to e2e/__tests__/__snapshots__/console_log_output_when_run_in_band.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/coverage_remapping.test.js.snap b/e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/coverage_remapping.test.js.snap rename to e2e/__tests__/__snapshots__/coverage_remapping.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/coverage_report.test.js.snap b/e2e/__tests__/__snapshots__/coverage_report.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/coverage_report.test.js.snap rename to e2e/__tests__/__snapshots__/coverage_report.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/coverage_threshold.test.js.snap b/e2e/__tests__/__snapshots__/coverage_threshold.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/coverage_threshold.test.js.snap rename to e2e/__tests__/__snapshots__/coverage_threshold.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/coverage_transform_instrumented.test.js.snap b/e2e/__tests__/__snapshots__/coverage_transform_instrumented.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/coverage_transform_instrumented.test.js.snap rename to e2e/__tests__/__snapshots__/coverage_transform_instrumented.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/custom_matcher_stack_trace.test.js.snap b/e2e/__tests__/__snapshots__/custom_matcher_stack_trace.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/custom_matcher_stack_trace.test.js.snap rename to e2e/__tests__/__snapshots__/custom_matcher_stack_trace.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/custom_reporters.test.js.snap b/e2e/__tests__/__snapshots__/custom_reporters.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/custom_reporters.test.js.snap rename to e2e/__tests__/__snapshots__/custom_reporters.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/detect_open_handles.js.snap b/e2e/__tests__/__snapshots__/detect_open_handles.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/detect_open_handles.js.snap rename to e2e/__tests__/__snapshots__/detect_open_handles.js.snap diff --git a/integration-tests/__tests__/__snapshots__/each.test.js.snap b/e2e/__tests__/__snapshots__/each.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/each.test.js.snap rename to e2e/__tests__/__snapshots__/each.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/execute-tests-once-in-mpr.js.snap b/e2e/__tests__/__snapshots__/execute-tests-once-in-mpr.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/execute-tests-once-in-mpr.js.snap rename to e2e/__tests__/__snapshots__/execute-tests-once-in-mpr.js.snap diff --git a/integration-tests/__tests__/__snapshots__/expect-async-matcher.test.js.snap b/e2e/__tests__/__snapshots__/expect-async-matcher.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/expect-async-matcher.test.js.snap rename to e2e/__tests__/__snapshots__/expect-async-matcher.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/failures.test.js.snap b/e2e/__tests__/__snapshots__/failures.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/failures.test.js.snap rename to e2e/__tests__/__snapshots__/failures.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/find_related_files.test.js.snap b/e2e/__tests__/__snapshots__/find_related_files.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/find_related_files.test.js.snap rename to e2e/__tests__/__snapshots__/find_related_files.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/globals.test.js.snap b/e2e/__tests__/__snapshots__/globals.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/globals.test.js.snap rename to e2e/__tests__/__snapshots__/globals.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/jest.config.js.test.js.snap b/e2e/__tests__/__snapshots__/jest.config.js.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/jest.config.js.test.js.snap rename to e2e/__tests__/__snapshots__/jest.config.js.test.js.snap diff --git a/e2e/__tests__/__snapshots__/list_tests.test.js.snap b/e2e/__tests__/__snapshots__/list_tests.test.js.snap new file mode 100644 index 000000000000..b1d8584f771e --- /dev/null +++ b/e2e/__tests__/__snapshots__/list_tests.test.js.snap @@ -0,0 +1,8 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`--listTests flag causes tests to be printed in different lines 1`] = ` +"/MOCK_ABOLUTE_PATH/e2e/list-tests/__tests__/dummy.test.js +/MOCK_ABOLUTE_PATH/e2e/list-tests/__tests__/other.test.js" +`; + +exports[`--listTests flag causes tests to be printed out as JSON when using the --json flag 1`] = `"[\\"/MOCK_ABOLUTE_PATH/e2e/list-tests/__tests__/dummy.test.js\\",\\"/MOCK_ABOLUTE_PATH/e2e/list-tests/__tests__/other.test.js\\"]"`; diff --git a/integration-tests/__tests__/__snapshots__/module_name_mapper.test.js.snap b/e2e/__tests__/__snapshots__/module_name_mapper.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/module_name_mapper.test.js.snap rename to e2e/__tests__/__snapshots__/module_name_mapper.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/multi_project_runner.test.js.snap b/e2e/__tests__/__snapshots__/multi_project_runner.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/multi_project_runner.test.js.snap rename to e2e/__tests__/__snapshots__/multi_project_runner.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/require_after_teardown.test.js.snap b/e2e/__tests__/__snapshots__/require_after_teardown.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/require_after_teardown.test.js.snap rename to e2e/__tests__/__snapshots__/require_after_teardown.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/show_config.test.js.snap b/e2e/__tests__/__snapshots__/show_config.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/show_config.test.js.snap rename to e2e/__tests__/__snapshots__/show_config.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/__tests__/__snapshots__/snapshot.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/snapshot.test.js.snap rename to e2e/__tests__/__snapshots__/snapshot.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/snapshot_serializers.test.js.snap b/e2e/__tests__/__snapshots__/snapshot_serializers.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/snapshot_serializers.test.js.snap rename to e2e/__tests__/__snapshots__/snapshot_serializers.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/stack_trace.test.js.snap b/e2e/__tests__/__snapshots__/stack_trace.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/stack_trace.test.js.snap rename to e2e/__tests__/__snapshots__/stack_trace.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/test_name_pattern.test.js.snap b/e2e/__tests__/__snapshots__/test_name_pattern.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/test_name_pattern.test.js.snap rename to e2e/__tests__/__snapshots__/test_name_pattern.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/timeouts.test.js.snap b/e2e/__tests__/__snapshots__/timeouts.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/timeouts.test.js.snap rename to e2e/__tests__/__snapshots__/timeouts.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/to_throw_error_matching_snapshot.test.js.snap b/e2e/__tests__/__snapshots__/to_throw_error_matching_snapshot.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/to_throw_error_matching_snapshot.test.js.snap rename to e2e/__tests__/__snapshots__/to_throw_error_matching_snapshot.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/transform.test.js.snap b/e2e/__tests__/__snapshots__/transform.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/transform.test.js.snap rename to e2e/__tests__/__snapshots__/transform.test.js.snap diff --git a/integration-tests/__tests__/__snapshots__/typescript_coverage.test.js.snap b/e2e/__tests__/__snapshots__/typescript_coverage.test.js.snap similarity index 100% rename from integration-tests/__tests__/__snapshots__/typescript_coverage.test.js.snap rename to e2e/__tests__/__snapshots__/typescript_coverage.test.js.snap diff --git a/integration-tests/__tests__/auto_clear_mocks.test.js b/e2e/__tests__/auto_clear_mocks.test.js similarity index 100% rename from integration-tests/__tests__/auto_clear_mocks.test.js rename to e2e/__tests__/auto_clear_mocks.test.js diff --git a/integration-tests/__tests__/auto_reset_mocks.test.js b/e2e/__tests__/auto_reset_mocks.test.js similarity index 100% rename from integration-tests/__tests__/auto_reset_mocks.test.js rename to e2e/__tests__/auto_reset_mocks.test.js diff --git a/integration-tests/__tests__/auto_restore_mocks.test.js b/e2e/__tests__/auto_restore_mocks.test.js similarity index 100% rename from integration-tests/__tests__/auto_restore_mocks.test.js rename to e2e/__tests__/auto_restore_mocks.test.js diff --git a/integration-tests/__tests__/babel_plugin_jest_hoist.test.js b/e2e/__tests__/babel_plugin_jest_hoist.test.js similarity index 100% rename from integration-tests/__tests__/babel_plugin_jest_hoist.test.js rename to e2e/__tests__/babel_plugin_jest_hoist.test.js diff --git a/integration-tests/__tests__/bad_source_map.test.js b/e2e/__tests__/bad_source_map.test.js similarity index 100% rename from integration-tests/__tests__/bad_source_map.test.js rename to e2e/__tests__/bad_source_map.test.js diff --git a/integration-tests/__tests__/before-each-queue.js b/e2e/__tests__/before-each-queue.js similarity index 100% rename from integration-tests/__tests__/before-each-queue.js rename to e2e/__tests__/before-each-queue.js diff --git a/integration-tests/__tests__/clear_cache.test.js b/e2e/__tests__/clear_cache.test.js similarity index 100% rename from integration-tests/__tests__/clear_cache.test.js rename to e2e/__tests__/clear_cache.test.js diff --git a/integration-tests/__tests__/cli-handles-exact-filenames.test.js b/e2e/__tests__/cli-handles-exact-filenames.test.js similarity index 100% rename from integration-tests/__tests__/cli-handles-exact-filenames.test.js rename to e2e/__tests__/cli-handles-exact-filenames.test.js diff --git a/integration-tests/__tests__/compare_dom_nodes.test.js b/e2e/__tests__/compare_dom_nodes.test.js similarity index 100% rename from integration-tests/__tests__/compare_dom_nodes.test.js rename to e2e/__tests__/compare_dom_nodes.test.js diff --git a/integration-tests/__tests__/config.test.js b/e2e/__tests__/config.test.js similarity index 100% rename from integration-tests/__tests__/config.test.js rename to e2e/__tests__/config.test.js diff --git a/integration-tests/__tests__/console.test.js b/e2e/__tests__/console.test.js similarity index 100% rename from integration-tests/__tests__/console.test.js rename to e2e/__tests__/console.test.js diff --git a/integration-tests/__tests__/console_log_output_when_run_in_band.test.js b/e2e/__tests__/console_log_output_when_run_in_band.test.js similarity index 100% rename from integration-tests/__tests__/console_log_output_when_run_in_band.test.js rename to e2e/__tests__/console_log_output_when_run_in_band.test.js diff --git a/integration-tests/__tests__/coverage_remapping.test.js b/e2e/__tests__/coverage_remapping.test.js similarity index 100% rename from integration-tests/__tests__/coverage_remapping.test.js rename to e2e/__tests__/coverage_remapping.test.js diff --git a/integration-tests/__tests__/coverage_report.test.js b/e2e/__tests__/coverage_report.test.js similarity index 100% rename from integration-tests/__tests__/coverage_report.test.js rename to e2e/__tests__/coverage_report.test.js diff --git a/integration-tests/__tests__/coverage_threshold.test.js b/e2e/__tests__/coverage_threshold.test.js similarity index 100% rename from integration-tests/__tests__/coverage_threshold.test.js rename to e2e/__tests__/coverage_threshold.test.js diff --git a/integration-tests/__tests__/coverage_transform_instrumented.test.js b/e2e/__tests__/coverage_transform_instrumented.test.js similarity index 100% rename from integration-tests/__tests__/coverage_transform_instrumented.test.js rename to e2e/__tests__/coverage_transform_instrumented.test.js diff --git a/integration-tests/__tests__/custom-resolver.test.js b/e2e/__tests__/custom-resolver.test.js similarity index 100% rename from integration-tests/__tests__/custom-resolver.test.js rename to e2e/__tests__/custom-resolver.test.js diff --git a/integration-tests/__tests__/custom_matcher_stack_trace.test.js b/e2e/__tests__/custom_matcher_stack_trace.test.js similarity index 100% rename from integration-tests/__tests__/custom_matcher_stack_trace.test.js rename to e2e/__tests__/custom_matcher_stack_trace.test.js diff --git a/integration-tests/__tests__/custom_reporters.test.js b/e2e/__tests__/custom_reporters.test.js similarity index 100% rename from integration-tests/__tests__/custom_reporters.test.js rename to e2e/__tests__/custom_reporters.test.js diff --git a/integration-tests/__tests__/debug.test.js b/e2e/__tests__/debug.test.js similarity index 100% rename from integration-tests/__tests__/debug.test.js rename to e2e/__tests__/debug.test.js diff --git a/integration-tests/__tests__/deprecated_cli_options.test.js b/e2e/__tests__/deprecated_cli_options.test.js similarity index 100% rename from integration-tests/__tests__/deprecated_cli_options.test.js rename to e2e/__tests__/deprecated_cli_options.test.js diff --git a/integration-tests/__tests__/detect_open_handles.js b/e2e/__tests__/detect_open_handles.js similarity index 100% rename from integration-tests/__tests__/detect_open_handles.js rename to e2e/__tests__/detect_open_handles.js diff --git a/integration-tests/__tests__/each.test.js b/e2e/__tests__/each.test.js similarity index 100% rename from integration-tests/__tests__/each.test.js rename to e2e/__tests__/each.test.js diff --git a/integration-tests/__tests__/empty_suite_error.test.js b/e2e/__tests__/empty_suite_error.test.js similarity index 100% rename from integration-tests/__tests__/empty_suite_error.test.js rename to e2e/__tests__/empty_suite_error.test.js diff --git a/integration-tests/__tests__/env.test.js b/e2e/__tests__/env.test.js similarity index 100% rename from integration-tests/__tests__/env.test.js rename to e2e/__tests__/env.test.js diff --git a/integration-tests/__tests__/execute-tests-once-in-mpr.js b/e2e/__tests__/execute-tests-once-in-mpr.js similarity index 100% rename from integration-tests/__tests__/execute-tests-once-in-mpr.js rename to e2e/__tests__/execute-tests-once-in-mpr.js diff --git a/integration-tests/__tests__/expect-async-matcher.test.js b/e2e/__tests__/expect-async-matcher.test.js similarity index 100% rename from integration-tests/__tests__/expect-async-matcher.test.js rename to e2e/__tests__/expect-async-matcher.test.js diff --git a/integration-tests/__tests__/expect_in_vm.test.js b/e2e/__tests__/expect_in_vm.test.js similarity index 100% rename from integration-tests/__tests__/expect_in_vm.test.js rename to e2e/__tests__/expect_in_vm.test.js diff --git a/integration-tests/__tests__/failures.test.js b/e2e/__tests__/failures.test.js similarity index 100% rename from integration-tests/__tests__/failures.test.js rename to e2e/__tests__/failures.test.js diff --git a/integration-tests/__tests__/filter.test.js b/e2e/__tests__/filter.test.js similarity index 100% rename from integration-tests/__tests__/filter.test.js rename to e2e/__tests__/filter.test.js diff --git a/integration-tests/__tests__/find_related_files.test.js b/e2e/__tests__/find_related_files.test.js similarity index 100% rename from integration-tests/__tests__/find_related_files.test.js rename to e2e/__tests__/find_related_files.test.js diff --git a/integration-tests/__tests__/force_exit.test.js b/e2e/__tests__/force_exit.test.js similarity index 100% rename from integration-tests/__tests__/force_exit.test.js rename to e2e/__tests__/force_exit.test.js diff --git a/integration-tests/__tests__/generator_mock.test.js b/e2e/__tests__/generator_mock.test.js similarity index 100% rename from integration-tests/__tests__/generator_mock.test.js rename to e2e/__tests__/generator_mock.test.js diff --git a/integration-tests/__tests__/global.test.js b/e2e/__tests__/global.test.js similarity index 100% rename from integration-tests/__tests__/global.test.js rename to e2e/__tests__/global.test.js diff --git a/integration-tests/__tests__/global_setup.test.js b/e2e/__tests__/global_setup.test.js similarity index 100% rename from integration-tests/__tests__/global_setup.test.js rename to e2e/__tests__/global_setup.test.js diff --git a/integration-tests/__tests__/global_teardown.test.js b/e2e/__tests__/global_teardown.test.js similarity index 100% rename from integration-tests/__tests__/global_teardown.test.js rename to e2e/__tests__/global_teardown.test.js diff --git a/integration-tests/__tests__/globals.test.js b/e2e/__tests__/globals.test.js similarity index 100% rename from integration-tests/__tests__/globals.test.js rename to e2e/__tests__/globals.test.js diff --git a/integration-tests/__tests__/iterator-to-null-test.js b/e2e/__tests__/iterator-to-null-test.js similarity index 100% rename from integration-tests/__tests__/iterator-to-null-test.js rename to e2e/__tests__/iterator-to-null-test.js diff --git a/integration-tests/__tests__/jasmine_async.test.js b/e2e/__tests__/jasmine_async.test.js similarity index 100% rename from integration-tests/__tests__/jasmine_async.test.js rename to e2e/__tests__/jasmine_async.test.js diff --git a/integration-tests/__tests__/jest.config.js.test.js b/e2e/__tests__/jest.config.js.test.js similarity index 95% rename from integration-tests/__tests__/jest.config.js.test.js rename to e2e/__tests__/jest.config.js.test.js index 7174bf6d79ac..ed367d791198 100644 --- a/integration-tests/__tests__/jest.config.js.test.js +++ b/e2e/__tests__/jest.config.js.test.js @@ -51,9 +51,7 @@ test('traverses directory tree up until it finds jest.config', () => { ); // Snapshot the console.loged `process.cwd()` and make sure it stays the same - expect( - stdout.replace(/^\W+(.*)integration-tests/gm, '<>'), - ).toMatchSnapshot(); + expect(stdout.replace(/^\W+(.*)e2e/gm, '<>')).toMatchSnapshot(); const {rest, summary} = extractSummary(stderr); expect(status).toBe(0); diff --git a/integration-tests/__tests__/jest_changed_files.test.js b/e2e/__tests__/jest_changed_files.test.js similarity index 100% rename from integration-tests/__tests__/jest_changed_files.test.js rename to e2e/__tests__/jest_changed_files.test.js diff --git a/integration-tests/__tests__/jest_require_actual.test.js b/e2e/__tests__/jest_require_actual.test.js similarity index 100% rename from integration-tests/__tests__/jest_require_actual.test.js rename to e2e/__tests__/jest_require_actual.test.js diff --git a/integration-tests/__tests__/jest_require_mock.test.js b/e2e/__tests__/jest_require_mock.test.js similarity index 100% rename from integration-tests/__tests__/jest_require_mock.test.js rename to e2e/__tests__/jest_require_mock.test.js diff --git a/integration-tests/__tests__/json.test.js b/e2e/__tests__/json.test.js similarity index 100% rename from integration-tests/__tests__/json.test.js rename to e2e/__tests__/json.test.js diff --git a/integration-tests/__tests__/json_reporter.test.js b/e2e/__tests__/json_reporter.test.js similarity index 98% rename from integration-tests/__tests__/json_reporter.test.js rename to e2e/__tests__/json_reporter.test.js index d1e6a6f9b9b9..7fe8e803787c 100644 --- a/integration-tests/__tests__/json_reporter.test.js +++ b/e2e/__tests__/json_reporter.test.js @@ -16,7 +16,7 @@ describe('JSON Reporter', () => { const outputFileName = 'sum.result.json'; const outputFilePath = path.join( process.cwd(), - 'integration-tests/json-reporter/', + 'e2e/json-reporter/', outputFileName, ); diff --git a/integration-tests/__tests__/lifecycles.js b/e2e/__tests__/lifecycles.js similarity index 100% rename from integration-tests/__tests__/lifecycles.js rename to e2e/__tests__/lifecycles.js diff --git a/integration-tests/__tests__/list_tests.test.js b/e2e/__tests__/list_tests.test.js similarity index 100% rename from integration-tests/__tests__/list_tests.test.js rename to e2e/__tests__/list_tests.test.js diff --git a/integration-tests/__tests__/location_in_results.test.js b/e2e/__tests__/location_in_results.test.js similarity index 100% rename from integration-tests/__tests__/location_in_results.test.js rename to e2e/__tests__/location_in_results.test.js diff --git a/integration-tests/__tests__/log_heap_usage.test.js b/e2e/__tests__/log_heap_usage.test.js similarity index 100% rename from integration-tests/__tests__/log_heap_usage.test.js rename to e2e/__tests__/log_heap_usage.test.js diff --git a/integration-tests/__tests__/mock_names.test.js b/e2e/__tests__/mock_names.test.js similarity index 100% rename from integration-tests/__tests__/mock_names.test.js rename to e2e/__tests__/mock_names.test.js diff --git a/integration-tests/__tests__/module_name_mapper.test.js b/e2e/__tests__/module_name_mapper.test.js similarity index 100% rename from integration-tests/__tests__/module_name_mapper.test.js rename to e2e/__tests__/module_name_mapper.test.js diff --git a/integration-tests/__tests__/module_parent_null_in_test.js b/e2e/__tests__/module_parent_null_in_test.js similarity index 100% rename from integration-tests/__tests__/module_parent_null_in_test.js rename to e2e/__tests__/module_parent_null_in_test.js diff --git a/integration-tests/__tests__/multi_project_runner.test.js b/e2e/__tests__/multi_project_runner.test.js similarity index 100% rename from integration-tests/__tests__/multi_project_runner.test.js rename to e2e/__tests__/multi_project_runner.test.js diff --git a/integration-tests/__tests__/native_async_mock.test.js b/e2e/__tests__/native_async_mock.test.js similarity index 100% rename from integration-tests/__tests__/native_async_mock.test.js rename to e2e/__tests__/native_async_mock.test.js diff --git a/integration-tests/__tests__/nested_event_loop.test.js b/e2e/__tests__/nested_event_loop.test.js similarity index 100% rename from integration-tests/__tests__/nested_event_loop.test.js rename to e2e/__tests__/nested_event_loop.test.js diff --git a/integration-tests/__tests__/no_test_found.test.js b/e2e/__tests__/no_test_found.test.js similarity index 100% rename from integration-tests/__tests__/no_test_found.test.js rename to e2e/__tests__/no_test_found.test.js diff --git a/integration-tests/__tests__/no_tests_found.test.js b/e2e/__tests__/no_tests_found.test.js similarity index 100% rename from integration-tests/__tests__/no_tests_found.test.js rename to e2e/__tests__/no_tests_found.test.js diff --git a/integration-tests/__tests__/node_path.test.js b/e2e/__tests__/node_path.test.js similarity index 100% rename from integration-tests/__tests__/node_path.test.js rename to e2e/__tests__/node_path.test.js diff --git a/integration-tests/__tests__/only_changed.test.js b/e2e/__tests__/only_changed.test.js similarity index 100% rename from integration-tests/__tests__/only_changed.test.js rename to e2e/__tests__/only_changed.test.js diff --git a/integration-tests/__tests__/override-globals.test.js b/e2e/__tests__/override-globals.test.js similarity index 100% rename from integration-tests/__tests__/override-globals.test.js rename to e2e/__tests__/override-globals.test.js diff --git a/integration-tests/__tests__/presets.test.js b/e2e/__tests__/presets.test.js similarity index 100% rename from integration-tests/__tests__/presets.test.js rename to e2e/__tests__/presets.test.js diff --git a/integration-tests/__tests__/regex_(char_in_path.test.js b/e2e/__tests__/regex_(char_in_path.test.js similarity index 100% rename from integration-tests/__tests__/regex_(char_in_path.test.js rename to e2e/__tests__/regex_(char_in_path.test.js diff --git a/integration-tests/__tests__/require_after_teardown.test.js b/e2e/__tests__/require_after_teardown.test.js similarity index 100% rename from integration-tests/__tests__/require_after_teardown.test.js rename to e2e/__tests__/require_after_teardown.test.js diff --git a/integration-tests/__tests__/require_main.test.js b/e2e/__tests__/require_main.test.js similarity index 100% rename from integration-tests/__tests__/require_main.test.js rename to e2e/__tests__/require_main.test.js diff --git a/integration-tests/__tests__/require_v8_module.test.js b/e2e/__tests__/require_v8_module.test.js similarity index 100% rename from integration-tests/__tests__/require_v8_module.test.js rename to e2e/__tests__/require_v8_module.test.js diff --git a/integration-tests/__tests__/resolve-node-module.test.js b/e2e/__tests__/resolve-node-module.test.js similarity index 100% rename from integration-tests/__tests__/resolve-node-module.test.js rename to e2e/__tests__/resolve-node-module.test.js diff --git a/integration-tests/__tests__/resolve.test.js b/e2e/__tests__/resolve.test.js similarity index 100% rename from integration-tests/__tests__/resolve.test.js rename to e2e/__tests__/resolve.test.js diff --git a/integration-tests/__tests__/run_tests_by_path.test.js b/e2e/__tests__/run_tests_by_path.test.js similarity index 100% rename from integration-tests/__tests__/run_tests_by_path.test.js rename to e2e/__tests__/run_tests_by_path.test.js diff --git a/integration-tests/__tests__/runtime_internal_module_registry.test.js b/e2e/__tests__/runtime_internal_module_registry.test.js similarity index 100% rename from integration-tests/__tests__/runtime_internal_module_registry.test.js rename to e2e/__tests__/runtime_internal_module_registry.test.js diff --git a/integration-tests/__tests__/set_immediate.test.js b/e2e/__tests__/set_immediate.test.js similarity index 100% rename from integration-tests/__tests__/set_immediate.test.js rename to e2e/__tests__/set_immediate.test.js diff --git a/integration-tests/__tests__/setup_test_framework_script_file_cli_config.test.js b/e2e/__tests__/setup_test_framework_script_file_cli_config.test.js similarity index 100% rename from integration-tests/__tests__/setup_test_framework_script_file_cli_config.test.js rename to e2e/__tests__/setup_test_framework_script_file_cli_config.test.js diff --git a/integration-tests/__tests__/show_config.test.js b/e2e/__tests__/show_config.test.js similarity index 100% rename from integration-tests/__tests__/show_config.test.js rename to e2e/__tests__/show_config.test.js diff --git a/integration-tests/__tests__/snapshot.test.js b/e2e/__tests__/snapshot.test.js similarity index 100% rename from integration-tests/__tests__/snapshot.test.js rename to e2e/__tests__/snapshot.test.js diff --git a/integration-tests/__tests__/snapshot_serializers.test.js b/e2e/__tests__/snapshot_serializers.test.js similarity index 100% rename from integration-tests/__tests__/snapshot_serializers.test.js rename to e2e/__tests__/snapshot_serializers.test.js diff --git a/integration-tests/__tests__/stack_trace.test.js b/e2e/__tests__/stack_trace.test.js similarity index 100% rename from integration-tests/__tests__/stack_trace.test.js rename to e2e/__tests__/stack_trace.test.js diff --git a/integration-tests/__tests__/stack_trace_no_captureStackTrace.test.js b/e2e/__tests__/stack_trace_no_captureStackTrace.test.js similarity index 100% rename from integration-tests/__tests__/stack_trace_no_captureStackTrace.test.js rename to e2e/__tests__/stack_trace_no_captureStackTrace.test.js diff --git a/integration-tests/__tests__/stack_trace_source_maps.test.js b/e2e/__tests__/stack_trace_source_maps.test.js similarity index 100% rename from integration-tests/__tests__/stack_trace_source_maps.test.js rename to e2e/__tests__/stack_trace_source_maps.test.js diff --git a/integration-tests/__tests__/symbol.test.js b/e2e/__tests__/symbol.test.js similarity index 100% rename from integration-tests/__tests__/symbol.test.js rename to e2e/__tests__/symbol.test.js diff --git a/integration-tests/__tests__/test_environment.test.js b/e2e/__tests__/test_environment.test.js similarity index 100% rename from integration-tests/__tests__/test_environment.test.js rename to e2e/__tests__/test_environment.test.js diff --git a/integration-tests/__tests__/test_environment_async.test.js b/e2e/__tests__/test_environment_async.test.js similarity index 100% rename from integration-tests/__tests__/test_environment_async.test.js rename to e2e/__tests__/test_environment_async.test.js diff --git a/integration-tests/__tests__/test_failure_exit_code.test.js b/e2e/__tests__/test_failure_exit_code.test.js similarity index 100% rename from integration-tests/__tests__/test_failure_exit_code.test.js rename to e2e/__tests__/test_failure_exit_code.test.js diff --git a/integration-tests/__tests__/test_in_root.test.js b/e2e/__tests__/test_in_root.test.js similarity index 100% rename from integration-tests/__tests__/test_in_root.test.js rename to e2e/__tests__/test_in_root.test.js diff --git a/integration-tests/__tests__/test_name_pattern.test.js b/e2e/__tests__/test_name_pattern.test.js similarity index 100% rename from integration-tests/__tests__/test_name_pattern.test.js rename to e2e/__tests__/test_name_pattern.test.js diff --git a/integration-tests/__tests__/test_path_pattern_reporter_message.test.js b/e2e/__tests__/test_path_pattern_reporter_message.test.js similarity index 100% rename from integration-tests/__tests__/test_path_pattern_reporter_message.test.js rename to e2e/__tests__/test_path_pattern_reporter_message.test.js diff --git a/integration-tests/__tests__/test_results_processor.test.js b/e2e/__tests__/test_results_processor.test.js similarity index 100% rename from integration-tests/__tests__/test_results_processor.test.js rename to e2e/__tests__/test_results_processor.test.js diff --git a/integration-tests/__tests__/timeouts.test.js b/e2e/__tests__/timeouts.test.js similarity index 100% rename from integration-tests/__tests__/timeouts.test.js rename to e2e/__tests__/timeouts.test.js diff --git a/integration-tests/__tests__/timer_reset_mocks.test.js b/e2e/__tests__/timer_reset_mocks.test.js similarity index 100% rename from integration-tests/__tests__/timer_reset_mocks.test.js rename to e2e/__tests__/timer_reset_mocks.test.js diff --git a/integration-tests/__tests__/timer_use_real_timers.test.js b/e2e/__tests__/timer_use_real_timers.test.js similarity index 100% rename from integration-tests/__tests__/timer_use_real_timers.test.js rename to e2e/__tests__/timer_use_real_timers.test.js diff --git a/integration-tests/__tests__/to_match_snapshot.test.js b/e2e/__tests__/to_match_snapshot.test.js similarity index 100% rename from integration-tests/__tests__/to_match_snapshot.test.js rename to e2e/__tests__/to_match_snapshot.test.js diff --git a/integration-tests/__tests__/to_throw_error_matching_snapshot.test.js b/e2e/__tests__/to_throw_error_matching_snapshot.test.js similarity index 100% rename from integration-tests/__tests__/to_throw_error_matching_snapshot.test.js rename to e2e/__tests__/to_throw_error_matching_snapshot.test.js diff --git a/integration-tests/__tests__/transform-linked-modules.test.js b/e2e/__tests__/transform-linked-modules.test.js similarity index 100% rename from integration-tests/__tests__/transform-linked-modules.test.js rename to e2e/__tests__/transform-linked-modules.test.js diff --git a/integration-tests/__tests__/transform.test.js b/e2e/__tests__/transform.test.js similarity index 100% rename from integration-tests/__tests__/transform.test.js rename to e2e/__tests__/transform.test.js diff --git a/integration-tests/__tests__/typescript_coverage.test.js b/e2e/__tests__/typescript_coverage.test.js similarity index 100% rename from integration-tests/__tests__/typescript_coverage.test.js rename to e2e/__tests__/typescript_coverage.test.js diff --git a/integration-tests/__tests__/unexpected-token.test.js b/e2e/__tests__/unexpected-token.test.js similarity index 100% rename from integration-tests/__tests__/unexpected-token.test.js rename to e2e/__tests__/unexpected-token.test.js diff --git a/integration-tests/__tests__/use_stderr.test.js b/e2e/__tests__/use_stderr.test.js similarity index 100% rename from integration-tests/__tests__/use_stderr.test.js rename to e2e/__tests__/use_stderr.test.js diff --git a/integration-tests/__tests__/verbose.test.js b/e2e/__tests__/verbose.test.js similarity index 100% rename from integration-tests/__tests__/verbose.test.js rename to e2e/__tests__/verbose.test.js diff --git a/integration-tests/__tests__/version.test.js b/e2e/__tests__/version.test.js similarity index 100% rename from integration-tests/__tests__/version.test.js rename to e2e/__tests__/version.test.js diff --git a/integration-tests/auto-clear-mocks/with-auto-clear/__tests__/index.js b/e2e/auto-clear-mocks/with-auto-clear/__tests__/index.js similarity index 100% rename from integration-tests/auto-clear-mocks/with-auto-clear/__tests__/index.js rename to e2e/auto-clear-mocks/with-auto-clear/__tests__/index.js diff --git a/integration-tests/auto-clear-mocks/with-auto-clear/index.js b/e2e/auto-clear-mocks/with-auto-clear/index.js similarity index 100% rename from integration-tests/auto-clear-mocks/with-auto-clear/index.js rename to e2e/auto-clear-mocks/with-auto-clear/index.js diff --git a/integration-tests/auto-clear-mocks/with-auto-clear/package.json b/e2e/auto-clear-mocks/with-auto-clear/package.json similarity index 100% rename from integration-tests/auto-clear-mocks/with-auto-clear/package.json rename to e2e/auto-clear-mocks/with-auto-clear/package.json diff --git a/integration-tests/auto-clear-mocks/without-auto-clear/__tests__/index.js b/e2e/auto-clear-mocks/without-auto-clear/__tests__/index.js similarity index 100% rename from integration-tests/auto-clear-mocks/without-auto-clear/__tests__/index.js rename to e2e/auto-clear-mocks/without-auto-clear/__tests__/index.js diff --git a/integration-tests/auto-clear-mocks/without-auto-clear/index.js b/e2e/auto-clear-mocks/without-auto-clear/index.js similarity index 100% rename from integration-tests/auto-clear-mocks/without-auto-clear/index.js rename to e2e/auto-clear-mocks/without-auto-clear/index.js diff --git a/integration-tests/auto-clear-mocks/without-auto-clear/package.json b/e2e/auto-clear-mocks/without-auto-clear/package.json similarity index 100% rename from integration-tests/auto-clear-mocks/without-auto-clear/package.json rename to e2e/auto-clear-mocks/without-auto-clear/package.json diff --git a/integration-tests/auto-reset-mocks/with-auto-reset/__tests__/index.js b/e2e/auto-reset-mocks/with-auto-reset/__tests__/index.js similarity index 100% rename from integration-tests/auto-reset-mocks/with-auto-reset/__tests__/index.js rename to e2e/auto-reset-mocks/with-auto-reset/__tests__/index.js diff --git a/integration-tests/auto-reset-mocks/with-auto-reset/index.js b/e2e/auto-reset-mocks/with-auto-reset/index.js similarity index 100% rename from integration-tests/auto-reset-mocks/with-auto-reset/index.js rename to e2e/auto-reset-mocks/with-auto-reset/index.js diff --git a/integration-tests/auto-reset-mocks/with-auto-reset/package.json b/e2e/auto-reset-mocks/with-auto-reset/package.json similarity index 100% rename from integration-tests/auto-reset-mocks/with-auto-reset/package.json rename to e2e/auto-reset-mocks/with-auto-reset/package.json diff --git a/integration-tests/auto-reset-mocks/without-auto-reset/__tests__/index.js b/e2e/auto-reset-mocks/without-auto-reset/__tests__/index.js similarity index 100% rename from integration-tests/auto-reset-mocks/without-auto-reset/__tests__/index.js rename to e2e/auto-reset-mocks/without-auto-reset/__tests__/index.js diff --git a/integration-tests/auto-reset-mocks/without-auto-reset/index.js b/e2e/auto-reset-mocks/without-auto-reset/index.js similarity index 100% rename from integration-tests/auto-reset-mocks/without-auto-reset/index.js rename to e2e/auto-reset-mocks/without-auto-reset/index.js diff --git a/integration-tests/auto-reset-mocks/without-auto-reset/package.json b/e2e/auto-reset-mocks/without-auto-reset/package.json similarity index 100% rename from integration-tests/auto-reset-mocks/without-auto-reset/package.json rename to e2e/auto-reset-mocks/without-auto-reset/package.json diff --git a/integration-tests/auto-restore-mocks/with-auto-restore/__tests__/index.js b/e2e/auto-restore-mocks/with-auto-restore/__tests__/index.js similarity index 100% rename from integration-tests/auto-restore-mocks/with-auto-restore/__tests__/index.js rename to e2e/auto-restore-mocks/with-auto-restore/__tests__/index.js diff --git a/integration-tests/auto-restore-mocks/with-auto-restore/index.js b/e2e/auto-restore-mocks/with-auto-restore/index.js similarity index 100% rename from integration-tests/auto-restore-mocks/with-auto-restore/index.js rename to e2e/auto-restore-mocks/with-auto-restore/index.js diff --git a/integration-tests/auto-restore-mocks/with-auto-restore/package.json b/e2e/auto-restore-mocks/with-auto-restore/package.json similarity index 100% rename from integration-tests/auto-restore-mocks/with-auto-restore/package.json rename to e2e/auto-restore-mocks/with-auto-restore/package.json diff --git a/integration-tests/auto-restore-mocks/without-auto-restore/__tests__/index.js b/e2e/auto-restore-mocks/without-auto-restore/__tests__/index.js similarity index 100% rename from integration-tests/auto-restore-mocks/without-auto-restore/__tests__/index.js rename to e2e/auto-restore-mocks/without-auto-restore/__tests__/index.js diff --git a/integration-tests/auto-restore-mocks/without-auto-restore/index.js b/e2e/auto-restore-mocks/without-auto-restore/index.js similarity index 100% rename from integration-tests/auto-restore-mocks/without-auto-restore/index.js rename to e2e/auto-restore-mocks/without-auto-restore/index.js diff --git a/integration-tests/auto-restore-mocks/without-auto-restore/package.json b/e2e/auto-restore-mocks/without-auto-restore/package.json similarity index 100% rename from integration-tests/auto-restore-mocks/without-auto-restore/package.json rename to e2e/auto-restore-mocks/without-auto-restore/package.json diff --git a/integration-tests/babel-plugin-jest-hoist/.babelrc b/e2e/babel-plugin-jest-hoist/.babelrc similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/.babelrc rename to e2e/babel-plugin-jest-hoist/.babelrc diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/Mocked.js b/e2e/babel-plugin-jest-hoist/__test_modules__/Mocked.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/Mocked.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/Mocked.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/Unmocked.js b/e2e/babel-plugin-jest-hoist/__test_modules__/Unmocked.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/Unmocked.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/Unmocked.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js b/e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/__mocks__/jest-backticks.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/a.js b/e2e/babel-plugin-jest-hoist/__test_modules__/a.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/a.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/a.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/b.js b/e2e/babel-plugin-jest-hoist/__test_modules__/b.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/b.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/b.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/c.js b/e2e/babel-plugin-jest-hoist/__test_modules__/c.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/c.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/c.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/d.js b/e2e/babel-plugin-jest-hoist/__test_modules__/d.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/d.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/d.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/e.js b/e2e/babel-plugin-jest-hoist/__test_modules__/e.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/e.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/e.js diff --git a/integration-tests/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js b/e2e/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js rename to e2e/babel-plugin-jest-hoist/__test_modules__/jest-backticks.js diff --git a/integration-tests/babel-plugin-jest-hoist/__tests__/integration.test.js b/e2e/babel-plugin-jest-hoist/__tests__/integration.test.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__tests__/integration.test.js rename to e2e/babel-plugin-jest-hoist/__tests__/integration.test.js diff --git a/integration-tests/babel-plugin-jest-hoist/__tests__/integration_automock_off.test.js b/e2e/babel-plugin-jest-hoist/__tests__/integration_automock_off.test.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/__tests__/integration_automock_off.test.js rename to e2e/babel-plugin-jest-hoist/__tests__/integration_automock_off.test.js diff --git a/integration-tests/babel-plugin-jest-hoist/banana.js b/e2e/babel-plugin-jest-hoist/banana.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/banana.js rename to e2e/babel-plugin-jest-hoist/banana.js diff --git a/integration-tests/babel-plugin-jest-hoist/mock-file.js b/e2e/babel-plugin-jest-hoist/mock-file.js similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/mock-file.js rename to e2e/babel-plugin-jest-hoist/mock-file.js diff --git a/integration-tests/babel-plugin-jest-hoist/package.json b/e2e/babel-plugin-jest-hoist/package.json similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/package.json rename to e2e/babel-plugin-jest-hoist/package.json diff --git a/integration-tests/babel-plugin-jest-hoist/yarn.lock b/e2e/babel-plugin-jest-hoist/yarn.lock similarity index 100% rename from integration-tests/babel-plugin-jest-hoist/yarn.lock rename to e2e/babel-plugin-jest-hoist/yarn.lock diff --git a/integration-tests/bad-source-map/__tests__/bad-source-map.js b/e2e/bad-source-map/__tests__/bad-source-map.js similarity index 100% rename from integration-tests/bad-source-map/__tests__/bad-source-map.js rename to e2e/bad-source-map/__tests__/bad-source-map.js diff --git a/integration-tests/bad-source-map/__tests__/bad-source-map.js.map b/e2e/bad-source-map/__tests__/bad-source-map.js.map similarity index 100% rename from integration-tests/bad-source-map/__tests__/bad-source-map.js.map rename to e2e/bad-source-map/__tests__/bad-source-map.js.map diff --git a/integration-tests/bad-source-map/package.json b/e2e/bad-source-map/package.json similarity index 100% rename from integration-tests/bad-source-map/package.json rename to e2e/bad-source-map/package.json diff --git a/integration-tests/before-each-queue/__tests__/before-each-queue.test.js b/e2e/before-each-queue/__tests__/before-each-queue.test.js similarity index 100% rename from integration-tests/before-each-queue/__tests__/before-each-queue.test.js rename to e2e/before-each-queue/__tests__/before-each-queue.test.js diff --git a/integration-tests/before-each-queue/package.json b/e2e/before-each-queue/package.json similarity index 100% rename from integration-tests/before-each-queue/package.json rename to e2e/before-each-queue/package.json diff --git a/integration-tests/browser-support/browser-test.js b/e2e/browser-support/browser-test.js similarity index 100% rename from integration-tests/browser-support/browser-test.js rename to e2e/browser-support/browser-test.js diff --git a/integration-tests/clear-cache/__tests__/clear_cache.test.js b/e2e/clear-cache/__tests__/clear_cache.test.js similarity index 100% rename from integration-tests/clear-cache/__tests__/clear_cache.test.js rename to e2e/clear-cache/__tests__/clear_cache.test.js diff --git a/integration-tests/clear-cache/package.json b/e2e/clear-cache/package.json similarity index 100% rename from integration-tests/clear-cache/package.json rename to e2e/clear-cache/package.json diff --git a/integration-tests/compare-dom-nodes/__tests__/failed-assertion.js b/e2e/compare-dom-nodes/__tests__/failed-assertion.js similarity index 100% rename from integration-tests/compare-dom-nodes/__tests__/failed-assertion.js rename to e2e/compare-dom-nodes/__tests__/failed-assertion.js diff --git a/integration-tests/compare-dom-nodes/package.json b/e2e/compare-dom-nodes/package.json similarity index 100% rename from integration-tests/compare-dom-nodes/package.json rename to e2e/compare-dom-nodes/package.json diff --git a/integration-tests/console-jsdom/__tests__/console.test.js b/e2e/console-jsdom/__tests__/console.test.js similarity index 100% rename from integration-tests/console-jsdom/__tests__/console.test.js rename to e2e/console-jsdom/__tests__/console.test.js diff --git a/integration-tests/console-jsdom/package.json b/e2e/console-jsdom/package.json similarity index 100% rename from integration-tests/console-jsdom/package.json rename to e2e/console-jsdom/package.json diff --git a/integration-tests/console/__tests__/console.test.js b/e2e/console/__tests__/console.test.js similarity index 100% rename from integration-tests/console/__tests__/console.test.js rename to e2e/console/__tests__/console.test.js diff --git a/integration-tests/console/package.json b/e2e/console/package.json similarity index 100% rename from integration-tests/console/package.json rename to e2e/console/package.json diff --git a/integration-tests/coverage-remapping/TypescriptPreprocessor.js b/e2e/coverage-remapping/TypescriptPreprocessor.js similarity index 100% rename from integration-tests/coverage-remapping/TypescriptPreprocessor.js rename to e2e/coverage-remapping/TypescriptPreprocessor.js diff --git a/integration-tests/coverage-remapping/__tests__/covered-test.ts b/e2e/coverage-remapping/__tests__/covered-test.ts similarity index 100% rename from integration-tests/coverage-remapping/__tests__/covered-test.ts rename to e2e/coverage-remapping/__tests__/covered-test.ts diff --git a/integration-tests/coverage-remapping/covered.ts b/e2e/coverage-remapping/covered.ts similarity index 100% rename from integration-tests/coverage-remapping/covered.ts rename to e2e/coverage-remapping/covered.ts diff --git a/integration-tests/coverage-remapping/package.json b/e2e/coverage-remapping/package.json similarity index 100% rename from integration-tests/coverage-remapping/package.json rename to e2e/coverage-remapping/package.json diff --git a/integration-tests/coverage-remapping/yarn.lock b/e2e/coverage-remapping/yarn.lock similarity index 100% rename from integration-tests/coverage-remapping/yarn.lock rename to e2e/coverage-remapping/yarn.lock diff --git a/integration-tests/coverage-report/.gitignore b/e2e/coverage-report/.gitignore similarity index 100% rename from integration-tests/coverage-report/.gitignore rename to e2e/coverage-report/.gitignore diff --git a/integration-tests/coverage-report/OtherFile.js b/e2e/coverage-report/OtherFile.js similarity index 100% rename from integration-tests/coverage-report/OtherFile.js rename to e2e/coverage-report/OtherFile.js diff --git a/integration-tests/coverage-report/Sum.js b/e2e/coverage-report/Sum.js similarity index 100% rename from integration-tests/coverage-report/Sum.js rename to e2e/coverage-report/Sum.js diff --git a/integration-tests/coverage-report/SumDependency.js b/e2e/coverage-report/SumDependency.js similarity index 100% rename from integration-tests/coverage-report/SumDependency.js rename to e2e/coverage-report/SumDependency.js diff --git a/integration-tests/coverage-report/__mocks__/SumDependency.js b/e2e/coverage-report/__mocks__/SumDependency.js similarity index 100% rename from integration-tests/coverage-report/__mocks__/SumDependency.js rename to e2e/coverage-report/__mocks__/SumDependency.js diff --git a/integration-tests/coverage-report/__tests__/Sum.test.js b/e2e/coverage-report/__tests__/Sum.test.js similarity index 100% rename from integration-tests/coverage-report/__tests__/Sum.test.js rename to e2e/coverage-report/__tests__/Sum.test.js diff --git a/integration-tests/coverage-report/cached-duplicates/a/Identical.js b/e2e/coverage-report/cached-duplicates/a/Identical.js similarity index 100% rename from integration-tests/coverage-report/cached-duplicates/a/Identical.js rename to e2e/coverage-report/cached-duplicates/a/Identical.js diff --git a/integration-tests/coverage-report/cached-duplicates/a/__tests__/Identical.test.js b/e2e/coverage-report/cached-duplicates/a/__tests__/Identical.test.js similarity index 100% rename from integration-tests/coverage-report/cached-duplicates/a/__tests__/Identical.test.js rename to e2e/coverage-report/cached-duplicates/a/__tests__/Identical.test.js diff --git a/integration-tests/coverage-report/cached-duplicates/b/Identical.js b/e2e/coverage-report/cached-duplicates/b/Identical.js similarity index 100% rename from integration-tests/coverage-report/cached-duplicates/b/Identical.js rename to e2e/coverage-report/cached-duplicates/b/Identical.js diff --git a/integration-tests/coverage-report/cached-duplicates/b/__tests__/Identical.test.js b/e2e/coverage-report/cached-duplicates/b/__tests__/Identical.test.js similarity index 100% rename from integration-tests/coverage-report/cached-duplicates/b/__tests__/Identical.test.js rename to e2e/coverage-report/cached-duplicates/b/__tests__/Identical.test.js diff --git a/integration-tests/coverage-report/notRequiredInTestSuite.js b/e2e/coverage-report/notRequiredInTestSuite.js similarity index 100% rename from integration-tests/coverage-report/notRequiredInTestSuite.js rename to e2e/coverage-report/notRequiredInTestSuite.js diff --git a/integration-tests/coverage-report/package.json b/e2e/coverage-report/package.json similarity index 100% rename from integration-tests/coverage-report/package.json rename to e2e/coverage-report/package.json diff --git a/integration-tests/coverage-report/setup.js b/e2e/coverage-report/setup.js similarity index 100% rename from integration-tests/coverage-report/setup.js rename to e2e/coverage-report/setup.js diff --git a/integration-tests/coverage-transform-instrumented/Preprocessor.js b/e2e/coverage-transform-instrumented/Preprocessor.js similarity index 100% rename from integration-tests/coverage-transform-instrumented/Preprocessor.js rename to e2e/coverage-transform-instrumented/Preprocessor.js diff --git a/integration-tests/coverage-transform-instrumented/__tests__/covered-test.js b/e2e/coverage-transform-instrumented/__tests__/covered-test.js similarity index 100% rename from integration-tests/coverage-transform-instrumented/__tests__/covered-test.js rename to e2e/coverage-transform-instrumented/__tests__/covered-test.js diff --git a/integration-tests/coverage-transform-instrumented/covered.js b/e2e/coverage-transform-instrumented/covered.js similarity index 100% rename from integration-tests/coverage-transform-instrumented/covered.js rename to e2e/coverage-transform-instrumented/covered.js diff --git a/integration-tests/coverage-transform-instrumented/package.json b/e2e/coverage-transform-instrumented/package.json similarity index 100% rename from integration-tests/coverage-transform-instrumented/package.json rename to e2e/coverage-transform-instrumented/package.json diff --git a/integration-tests/coverage-transform-instrumented/yarn.lock b/e2e/coverage-transform-instrumented/yarn.lock similarity index 100% rename from integration-tests/coverage-transform-instrumented/yarn.lock rename to e2e/coverage-transform-instrumented/yarn.lock diff --git a/integration-tests/custom-matcher-stack-trace/__tests__/custom_matcher.test.js b/e2e/custom-matcher-stack-trace/__tests__/custom_matcher.test.js similarity index 100% rename from integration-tests/custom-matcher-stack-trace/__tests__/custom_matcher.test.js rename to e2e/custom-matcher-stack-trace/__tests__/custom_matcher.test.js diff --git a/integration-tests/custom-matcher-stack-trace/package.json b/e2e/custom-matcher-stack-trace/package.json similarity index 100% rename from integration-tests/custom-matcher-stack-trace/package.json rename to e2e/custom-matcher-stack-trace/package.json diff --git a/integration-tests/custom-reporters/__tests__/add.test.js b/e2e/custom-reporters/__tests__/add.test.js similarity index 100% rename from integration-tests/custom-reporters/__tests__/add.test.js rename to e2e/custom-reporters/__tests__/add.test.js diff --git a/integration-tests/custom-reporters/__tests__/add_fail.test.js b/e2e/custom-reporters/__tests__/add_fail.test.js similarity index 100% rename from integration-tests/custom-reporters/__tests__/add_fail.test.js rename to e2e/custom-reporters/__tests__/add_fail.test.js diff --git a/integration-tests/custom-reporters/add.js b/e2e/custom-reporters/add.js similarity index 100% rename from integration-tests/custom-reporters/add.js rename to e2e/custom-reporters/add.js diff --git a/integration-tests/custom-reporters/package.json b/e2e/custom-reporters/package.json similarity index 100% rename from integration-tests/custom-reporters/package.json rename to e2e/custom-reporters/package.json diff --git a/integration-tests/custom-reporters/reporters/IncompleteReporter.js b/e2e/custom-reporters/reporters/IncompleteReporter.js similarity index 100% rename from integration-tests/custom-reporters/reporters/IncompleteReporter.js rename to e2e/custom-reporters/reporters/IncompleteReporter.js diff --git a/integration-tests/custom-reporters/reporters/TestReporter.js b/e2e/custom-reporters/reporters/TestReporter.js similarity index 100% rename from integration-tests/custom-reporters/reporters/TestReporter.js rename to e2e/custom-reporters/reporters/TestReporter.js diff --git a/integration-tests/custom-resolver/__mocks__/manual-mock.js b/e2e/custom-resolver/__mocks__/manual-mock.js similarity index 100% rename from integration-tests/custom-resolver/__mocks__/manual-mock.js rename to e2e/custom-resolver/__mocks__/manual-mock.js diff --git a/integration-tests/custom-resolver/__tests__/custom-resolver.test.js b/e2e/custom-resolver/__tests__/custom-resolver.test.js similarity index 100% rename from integration-tests/custom-resolver/__tests__/custom-resolver.test.js rename to e2e/custom-resolver/__tests__/custom-resolver.test.js diff --git a/integration-tests/custom-resolver/bar.js b/e2e/custom-resolver/bar.js similarity index 100% rename from integration-tests/custom-resolver/bar.js rename to e2e/custom-resolver/bar.js diff --git a/integration-tests/custom-resolver/fake-regenerator.js b/e2e/custom-resolver/fake-regenerator.js similarity index 100% rename from integration-tests/custom-resolver/fake-regenerator.js rename to e2e/custom-resolver/fake-regenerator.js diff --git a/integration-tests/custom-resolver/foo.js b/e2e/custom-resolver/foo.js similarity index 100% rename from integration-tests/custom-resolver/foo.js rename to e2e/custom-resolver/foo.js diff --git a/integration-tests/custom-resolver/manual-mock.js b/e2e/custom-resolver/manual-mock.js similarity index 100% rename from integration-tests/custom-resolver/manual-mock.js rename to e2e/custom-resolver/manual-mock.js diff --git a/integration-tests/custom-resolver/package.json b/e2e/custom-resolver/package.json similarity index 100% rename from integration-tests/custom-resolver/package.json rename to e2e/custom-resolver/package.json diff --git a/integration-tests/custom-resolver/resolver.js b/e2e/custom-resolver/resolver.js similarity index 100% rename from integration-tests/custom-resolver/resolver.js rename to e2e/custom-resolver/resolver.js diff --git a/integration-tests/deprecated-cli-options/__tests__/dummy.js b/e2e/deprecated-cli-options/__tests__/dummy.js similarity index 100% rename from integration-tests/deprecated-cli-options/__tests__/dummy.js rename to e2e/deprecated-cli-options/__tests__/dummy.js diff --git a/integration-tests/deprecated-cli-options/package.json b/e2e/deprecated-cli-options/package.json similarity index 100% rename from integration-tests/deprecated-cli-options/package.json rename to e2e/deprecated-cli-options/package.json diff --git a/integration-tests/detect-open-handles/__tests__/test.js b/e2e/detect-open-handles/__tests__/test.js similarity index 100% rename from integration-tests/detect-open-handles/__tests__/test.js rename to e2e/detect-open-handles/__tests__/test.js diff --git a/integration-tests/detect-open-handles/package.json b/e2e/detect-open-handles/package.json similarity index 100% rename from integration-tests/detect-open-handles/package.json rename to e2e/detect-open-handles/package.json diff --git a/integration-tests/detect-open-handles/server.js b/e2e/detect-open-handles/server.js similarity index 100% rename from integration-tests/detect-open-handles/server.js rename to e2e/detect-open-handles/server.js diff --git a/integration-tests/each/__tests__/each-exception.test.js b/e2e/each/__tests__/each-exception.test.js similarity index 100% rename from integration-tests/each/__tests__/each-exception.test.js rename to e2e/each/__tests__/each-exception.test.js diff --git a/integration-tests/each/__tests__/each-only.test.js b/e2e/each/__tests__/each-only.test.js similarity index 100% rename from integration-tests/each/__tests__/each-only.test.js rename to e2e/each/__tests__/each-only.test.js diff --git a/integration-tests/each/__tests__/each-skip.test.js b/e2e/each/__tests__/each-skip.test.js similarity index 100% rename from integration-tests/each/__tests__/each-skip.test.js rename to e2e/each/__tests__/each-skip.test.js diff --git a/integration-tests/each/__tests__/failure.test.js b/e2e/each/__tests__/failure.test.js similarity index 100% rename from integration-tests/each/__tests__/failure.test.js rename to e2e/each/__tests__/failure.test.js diff --git a/integration-tests/each/__tests__/success.test.js b/e2e/each/__tests__/success.test.js similarity index 100% rename from integration-tests/each/__tests__/success.test.js rename to e2e/each/__tests__/success.test.js diff --git a/integration-tests/each/package.json b/e2e/each/package.json similarity index 100% rename from integration-tests/each/package.json rename to e2e/each/package.json diff --git a/integration-tests/empty-suite-error/__tests__/empty_suite.test.js b/e2e/empty-suite-error/__tests__/empty_suite.test.js similarity index 100% rename from integration-tests/empty-suite-error/__tests__/empty_suite.test.js rename to e2e/empty-suite-error/__tests__/empty_suite.test.js diff --git a/integration-tests/empty-suite-error/package.json b/e2e/empty-suite-error/package.json similarity index 100% rename from integration-tests/empty-suite-error/package.json rename to e2e/empty-suite-error/package.json diff --git a/integration-tests/env-test/__tests__/env.test.js b/e2e/env-test/__tests__/env.test.js similarity index 100% rename from integration-tests/env-test/__tests__/env.test.js rename to e2e/env-test/__tests__/env.test.js diff --git a/integration-tests/env-test/package.json b/e2e/env-test/package.json similarity index 100% rename from integration-tests/env-test/package.json rename to e2e/env-test/package.json diff --git a/integration-tests/environmentOptions/__tests__/environmentOptions.test.js b/e2e/environmentOptions/__tests__/environmentOptions.test.js similarity index 100% rename from integration-tests/environmentOptions/__tests__/environmentOptions.test.js rename to e2e/environmentOptions/__tests__/environmentOptions.test.js diff --git a/integration-tests/environmentOptions/package.json b/e2e/environmentOptions/package.json similarity index 100% rename from integration-tests/environmentOptions/package.json rename to e2e/environmentOptions/package.json diff --git a/integration-tests/expect-async-matcher/__tests__/failure.test.js b/e2e/expect-async-matcher/__tests__/failure.test.js similarity index 100% rename from integration-tests/expect-async-matcher/__tests__/failure.test.js rename to e2e/expect-async-matcher/__tests__/failure.test.js diff --git a/integration-tests/expect-async-matcher/__tests__/success.test.js b/e2e/expect-async-matcher/__tests__/success.test.js similarity index 100% rename from integration-tests/expect-async-matcher/__tests__/success.test.js rename to e2e/expect-async-matcher/__tests__/success.test.js diff --git a/integration-tests/expect-async-matcher/matchers.js b/e2e/expect-async-matcher/matchers.js similarity index 100% rename from integration-tests/expect-async-matcher/matchers.js rename to e2e/expect-async-matcher/matchers.js diff --git a/integration-tests/expect-async-matcher/package.json b/e2e/expect-async-matcher/package.json similarity index 100% rename from integration-tests/expect-async-matcher/package.json rename to e2e/expect-async-matcher/package.json diff --git a/integration-tests/expect-in-vm/__tests__/expect-in-vm.test.js b/e2e/expect-in-vm/__tests__/expect-in-vm.test.js similarity index 100% rename from integration-tests/expect-in-vm/__tests__/expect-in-vm.test.js rename to e2e/expect-in-vm/__tests__/expect-in-vm.test.js diff --git a/integration-tests/expect-in-vm/package.json b/e2e/expect-in-vm/package.json similarity index 100% rename from integration-tests/expect-in-vm/package.json rename to e2e/expect-in-vm/package.json diff --git a/integration-tests/failures/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap similarity index 100% rename from integration-tests/failures/__tests__/__snapshots__/snapshot.test.js.snap rename to e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap diff --git a/integration-tests/failures/__tests__/__snapshots__/snapshot_named.test.js.snap b/e2e/failures/__tests__/__snapshots__/snapshot_named.test.js.snap similarity index 100% rename from integration-tests/failures/__tests__/__snapshots__/snapshot_named.test.js.snap rename to e2e/failures/__tests__/__snapshots__/snapshot_named.test.js.snap diff --git a/integration-tests/failures/__tests__/assertion_count.test.js b/e2e/failures/__tests__/assertion_count.test.js similarity index 100% rename from integration-tests/failures/__tests__/assertion_count.test.js rename to e2e/failures/__tests__/assertion_count.test.js diff --git a/integration-tests/failures/__tests__/async_failures.test.js b/e2e/failures/__tests__/async_failures.test.js similarity index 100% rename from integration-tests/failures/__tests__/async_failures.test.js rename to e2e/failures/__tests__/async_failures.test.js diff --git a/integration-tests/failures/__tests__/during_tests.test.js b/e2e/failures/__tests__/during_tests.test.js similarity index 100% rename from integration-tests/failures/__tests__/during_tests.test.js rename to e2e/failures/__tests__/during_tests.test.js diff --git a/integration-tests/failures/__tests__/node_assertion_error.test.js b/e2e/failures/__tests__/node_assertion_error.test.js similarity index 100% rename from integration-tests/failures/__tests__/node_assertion_error.test.js rename to e2e/failures/__tests__/node_assertion_error.test.js diff --git a/integration-tests/failures/__tests__/snapshot.test.js b/e2e/failures/__tests__/snapshot.test.js similarity index 100% rename from integration-tests/failures/__tests__/snapshot.test.js rename to e2e/failures/__tests__/snapshot.test.js diff --git a/integration-tests/failures/__tests__/snapshot_named.test.js b/e2e/failures/__tests__/snapshot_named.test.js similarity index 100% rename from integration-tests/failures/__tests__/snapshot_named.test.js rename to e2e/failures/__tests__/snapshot_named.test.js diff --git a/integration-tests/failures/__tests__/test_macro.test.js b/e2e/failures/__tests__/test_macro.test.js similarity index 100% rename from integration-tests/failures/__tests__/test_macro.test.js rename to e2e/failures/__tests__/test_macro.test.js diff --git a/integration-tests/failures/__tests__/throw_number.test.js b/e2e/failures/__tests__/throw_number.test.js similarity index 100% rename from integration-tests/failures/__tests__/throw_number.test.js rename to e2e/failures/__tests__/throw_number.test.js diff --git a/integration-tests/failures/__tests__/throw_object.test.js b/e2e/failures/__tests__/throw_object.test.js similarity index 100% rename from integration-tests/failures/__tests__/throw_object.test.js rename to e2e/failures/__tests__/throw_object.test.js diff --git a/integration-tests/failures/__tests__/throw_string.test.js b/e2e/failures/__tests__/throw_string.test.js similarity index 100% rename from integration-tests/failures/__tests__/throw_string.test.js rename to e2e/failures/__tests__/throw_string.test.js diff --git a/integration-tests/failures/macros.js b/e2e/failures/macros.js similarity index 100% rename from integration-tests/failures/macros.js rename to e2e/failures/macros.js diff --git a/integration-tests/failures/package.json b/e2e/failures/package.json similarity index 100% rename from integration-tests/failures/package.json rename to e2e/failures/package.json diff --git a/integration-tests/filter/__tests__/bar.test.js b/e2e/filter/__tests__/bar.test.js similarity index 100% rename from integration-tests/filter/__tests__/bar.test.js rename to e2e/filter/__tests__/bar.test.js diff --git a/integration-tests/filter/__tests__/foo.test.js b/e2e/filter/__tests__/foo.test.js similarity index 100% rename from integration-tests/filter/__tests__/foo.test.js rename to e2e/filter/__tests__/foo.test.js diff --git a/integration-tests/filter/my-clowny-filter.js b/e2e/filter/my-clowny-filter.js similarity index 100% rename from integration-tests/filter/my-clowny-filter.js rename to e2e/filter/my-clowny-filter.js diff --git a/integration-tests/filter/my-filter.js b/e2e/filter/my-filter.js similarity index 100% rename from integration-tests/filter/my-filter.js rename to e2e/filter/my-filter.js diff --git a/integration-tests/filter/my-secondary-filter.js b/e2e/filter/my-secondary-filter.js similarity index 100% rename from integration-tests/filter/my-secondary-filter.js rename to e2e/filter/my-secondary-filter.js diff --git a/integration-tests/filter/package.json b/e2e/filter/package.json similarity index 100% rename from integration-tests/filter/package.json rename to e2e/filter/package.json diff --git a/integration-tests/generator-mock/__tests__/generator_mock.test.js b/e2e/generator-mock/__tests__/generator_mock.test.js similarity index 100% rename from integration-tests/generator-mock/__tests__/generator_mock.test.js rename to e2e/generator-mock/__tests__/generator_mock.test.js diff --git a/integration-tests/generator-mock/index.js b/e2e/generator-mock/index.js similarity index 100% rename from integration-tests/generator-mock/index.js rename to e2e/generator-mock/index.js diff --git a/integration-tests/generator-mock/package.json b/e2e/generator-mock/package.json similarity index 100% rename from integration-tests/generator-mock/package.json rename to e2e/generator-mock/package.json diff --git a/integration-tests/global-setup/__tests__/setup1.test.js b/e2e/global-setup/__tests__/setup1.test.js similarity index 100% rename from integration-tests/global-setup/__tests__/setup1.test.js rename to e2e/global-setup/__tests__/setup1.test.js diff --git a/integration-tests/global-setup/__tests__/setup2.test.js b/e2e/global-setup/__tests__/setup2.test.js similarity index 100% rename from integration-tests/global-setup/__tests__/setup2.test.js rename to e2e/global-setup/__tests__/setup2.test.js diff --git a/integration-tests/global-setup/__tests__/setup3.test.js b/e2e/global-setup/__tests__/setup3.test.js similarity index 100% rename from integration-tests/global-setup/__tests__/setup3.test.js rename to e2e/global-setup/__tests__/setup3.test.js diff --git a/integration-tests/global-setup/invalid_setup.js b/e2e/global-setup/invalid_setup.js similarity index 100% rename from integration-tests/global-setup/invalid_setup.js rename to e2e/global-setup/invalid_setup.js diff --git a/integration-tests/global-setup/package.json b/e2e/global-setup/package.json similarity index 100% rename from integration-tests/global-setup/package.json rename to e2e/global-setup/package.json diff --git a/integration-tests/global-setup/setup.js b/e2e/global-setup/setup.js similarity index 100% rename from integration-tests/global-setup/setup.js rename to e2e/global-setup/setup.js diff --git a/integration-tests/global-teardown/__tests__/teardown1.test.js b/e2e/global-teardown/__tests__/teardown1.test.js similarity index 100% rename from integration-tests/global-teardown/__tests__/teardown1.test.js rename to e2e/global-teardown/__tests__/teardown1.test.js diff --git a/integration-tests/global-teardown/__tests__/teardown2.test.js b/e2e/global-teardown/__tests__/teardown2.test.js similarity index 100% rename from integration-tests/global-teardown/__tests__/teardown2.test.js rename to e2e/global-teardown/__tests__/teardown2.test.js diff --git a/integration-tests/global-teardown/__tests__/teardown3.test.js b/e2e/global-teardown/__tests__/teardown3.test.js similarity index 100% rename from integration-tests/global-teardown/__tests__/teardown3.test.js rename to e2e/global-teardown/__tests__/teardown3.test.js diff --git a/integration-tests/global-teardown/invalid_teardown.js b/e2e/global-teardown/invalid_teardown.js similarity index 100% rename from integration-tests/global-teardown/invalid_teardown.js rename to e2e/global-teardown/invalid_teardown.js diff --git a/integration-tests/global-teardown/package.json b/e2e/global-teardown/package.json similarity index 100% rename from integration-tests/global-teardown/package.json rename to e2e/global-teardown/package.json diff --git a/integration-tests/global-teardown/teardown.js b/e2e/global-teardown/teardown.js similarity index 100% rename from integration-tests/global-teardown/teardown.js rename to e2e/global-teardown/teardown.js diff --git a/integration-tests/jasmine-async/__tests__/async_test_fails.test.js b/e2e/jasmine-async/__tests__/async_test_fails.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/async_test_fails.test.js rename to e2e/jasmine-async/__tests__/async_test_fails.test.js diff --git a/integration-tests/jasmine-async/__tests__/concurrent.test.js b/e2e/jasmine-async/__tests__/concurrent.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/concurrent.test.js rename to e2e/jasmine-async/__tests__/concurrent.test.js diff --git a/integration-tests/jasmine-async/__tests__/generator.test.js b/e2e/jasmine-async/__tests__/generator.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/generator.test.js rename to e2e/jasmine-async/__tests__/generator.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_after_all.test.js b/e2e/jasmine-async/__tests__/promise_after_all.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_after_all.test.js rename to e2e/jasmine-async/__tests__/promise_after_all.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_after_each.test.js b/e2e/jasmine-async/__tests__/promise_after_each.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_after_each.test.js rename to e2e/jasmine-async/__tests__/promise_after_each.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_before_all.test.js b/e2e/jasmine-async/__tests__/promise_before_all.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_before_all.test.js rename to e2e/jasmine-async/__tests__/promise_before_all.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_before_each.test.js b/e2e/jasmine-async/__tests__/promise_before_each.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_before_each.test.js rename to e2e/jasmine-async/__tests__/promise_before_each.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_fit.test.js b/e2e/jasmine-async/__tests__/promise_fit.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_fit.test.js rename to e2e/jasmine-async/__tests__/promise_fit.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_it.test.js b/e2e/jasmine-async/__tests__/promise_it.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_it.test.js rename to e2e/jasmine-async/__tests__/promise_it.test.js diff --git a/integration-tests/jasmine-async/__tests__/promise_xit.test.js b/e2e/jasmine-async/__tests__/promise_xit.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/promise_xit.test.js rename to e2e/jasmine-async/__tests__/promise_xit.test.js diff --git a/integration-tests/jasmine-async/__tests__/returning_values.test.js b/e2e/jasmine-async/__tests__/returning_values.test.js similarity index 100% rename from integration-tests/jasmine-async/__tests__/returning_values.test.js rename to e2e/jasmine-async/__tests__/returning_values.test.js diff --git a/integration-tests/jasmine-async/package.json b/e2e/jasmine-async/package.json similarity index 100% rename from integration-tests/jasmine-async/package.json rename to e2e/jasmine-async/package.json diff --git a/integration-tests/json-reporter/__tests__/sum.test.js b/e2e/json-reporter/__tests__/sum.test.js similarity index 100% rename from integration-tests/json-reporter/__tests__/sum.test.js rename to e2e/json-reporter/__tests__/sum.test.js diff --git a/integration-tests/json-reporter/package.json b/e2e/json-reporter/package.json similarity index 100% rename from integration-tests/json-reporter/package.json rename to e2e/json-reporter/package.json diff --git a/integration-tests/json-reporter/sum.js b/e2e/json-reporter/sum.js similarity index 100% rename from integration-tests/json-reporter/sum.js rename to e2e/json-reporter/sum.js diff --git a/integration-tests/lifecycles/__tests__/index.js b/e2e/lifecycles/__tests__/index.js similarity index 100% rename from integration-tests/lifecycles/__tests__/index.js rename to e2e/lifecycles/__tests__/index.js diff --git a/integration-tests/lifecycles/index.js b/e2e/lifecycles/index.js similarity index 100% rename from integration-tests/lifecycles/index.js rename to e2e/lifecycles/index.js diff --git a/integration-tests/lifecycles/package.json b/e2e/lifecycles/package.json similarity index 100% rename from integration-tests/lifecycles/package.json rename to e2e/lifecycles/package.json diff --git a/integration-tests/list-tests/__tests__/dummy.test.js b/e2e/list-tests/__tests__/dummy.test.js similarity index 100% rename from integration-tests/list-tests/__tests__/dummy.test.js rename to e2e/list-tests/__tests__/dummy.test.js diff --git a/integration-tests/list-tests/__tests__/other.test.js b/e2e/list-tests/__tests__/other.test.js similarity index 100% rename from integration-tests/list-tests/__tests__/other.test.js rename to e2e/list-tests/__tests__/other.test.js diff --git a/integration-tests/list-tests/package.json b/e2e/list-tests/package.json similarity index 100% rename from integration-tests/list-tests/package.json rename to e2e/list-tests/package.json diff --git a/integration-tests/location-in-results/__tests__/test.js b/e2e/location-in-results/__tests__/test.js similarity index 100% rename from integration-tests/location-in-results/__tests__/test.js rename to e2e/location-in-results/__tests__/test.js diff --git a/integration-tests/location-in-results/package.json b/e2e/location-in-results/package.json similarity index 100% rename from integration-tests/location-in-results/package.json rename to e2e/location-in-results/package.json diff --git a/integration-tests/mock-names/with-empty-mock-name-not-called/__tests__/index.js b/e2e/mock-names/with-empty-mock-name-not-called/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name-not-called/__tests__/index.js rename to e2e/mock-names/with-empty-mock-name-not-called/__tests__/index.js diff --git a/integration-tests/mock-names/with-empty-mock-name-not-called/index.js b/e2e/mock-names/with-empty-mock-name-not-called/index.js similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name-not-called/index.js rename to e2e/mock-names/with-empty-mock-name-not-called/index.js diff --git a/integration-tests/mock-names/with-empty-mock-name-not-called/package.json b/e2e/mock-names/with-empty-mock-name-not-called/package.json similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name-not-called/package.json rename to e2e/mock-names/with-empty-mock-name-not-called/package.json diff --git a/integration-tests/mock-names/with-empty-mock-name/__tests__/index.js b/e2e/mock-names/with-empty-mock-name/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name/__tests__/index.js rename to e2e/mock-names/with-empty-mock-name/__tests__/index.js diff --git a/integration-tests/mock-names/with-empty-mock-name/index.js b/e2e/mock-names/with-empty-mock-name/index.js similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name/index.js rename to e2e/mock-names/with-empty-mock-name/index.js diff --git a/integration-tests/mock-names/with-empty-mock-name/package.json b/e2e/mock-names/with-empty-mock-name/package.json similarity index 100% rename from integration-tests/mock-names/with-empty-mock-name/package.json rename to e2e/mock-names/with-empty-mock-name/package.json diff --git a/integration-tests/mock-names/with-mock-name-call-times-fail/__tests__/index.js b/e2e/mock-names/with-mock-name-call-times-fail/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-fail/__tests__/index.js rename to e2e/mock-names/with-mock-name-call-times-fail/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name-call-times-fail/index.js b/e2e/mock-names/with-mock-name-call-times-fail/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-fail/index.js rename to e2e/mock-names/with-mock-name-call-times-fail/index.js diff --git a/integration-tests/mock-names/with-mock-name-call-times-fail/package.json b/e2e/mock-names/with-mock-name-call-times-fail/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-fail/package.json rename to e2e/mock-names/with-mock-name-call-times-fail/package.json diff --git a/integration-tests/mock-names/with-mock-name-call-times-pass/__tests__/index.js b/e2e/mock-names/with-mock-name-call-times-pass/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-pass/__tests__/index.js rename to e2e/mock-names/with-mock-name-call-times-pass/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name-call-times-pass/index.js b/e2e/mock-names/with-mock-name-call-times-pass/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-pass/index.js rename to e2e/mock-names/with-mock-name-call-times-pass/index.js diff --git a/integration-tests/mock-names/with-mock-name-call-times-pass/package.json b/e2e/mock-names/with-mock-name-call-times-pass/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name-call-times-pass/package.json rename to e2e/mock-names/with-mock-name-call-times-pass/package.json diff --git a/integration-tests/mock-names/with-mock-name-not-called-fail/__tests__/index.js b/e2e/mock-names/with-mock-name-not-called-fail/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-fail/__tests__/index.js rename to e2e/mock-names/with-mock-name-not-called-fail/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called-fail/index.js b/e2e/mock-names/with-mock-name-not-called-fail/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-fail/index.js rename to e2e/mock-names/with-mock-name-not-called-fail/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called-fail/package.json b/e2e/mock-names/with-mock-name-not-called-fail/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-fail/package.json rename to e2e/mock-names/with-mock-name-not-called-fail/package.json diff --git a/integration-tests/mock-names/with-mock-name-not-called-pass/__tests__/index.js b/e2e/mock-names/with-mock-name-not-called-pass/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-pass/__tests__/index.js rename to e2e/mock-names/with-mock-name-not-called-pass/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called-pass/index.js b/e2e/mock-names/with-mock-name-not-called-pass/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-pass/index.js rename to e2e/mock-names/with-mock-name-not-called-pass/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called-pass/package.json b/e2e/mock-names/with-mock-name-not-called-pass/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called-pass/package.json rename to e2e/mock-names/with-mock-name-not-called-pass/package.json diff --git a/integration-tests/mock-names/with-mock-name-not-called/__tests__/index.js b/e2e/mock-names/with-mock-name-not-called/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called/__tests__/index.js rename to e2e/mock-names/with-mock-name-not-called/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called/index.js b/e2e/mock-names/with-mock-name-not-called/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called/index.js rename to e2e/mock-names/with-mock-name-not-called/index.js diff --git a/integration-tests/mock-names/with-mock-name-not-called/package.json b/e2e/mock-names/with-mock-name-not-called/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name-not-called/package.json rename to e2e/mock-names/with-mock-name-not-called/package.json diff --git a/integration-tests/mock-names/with-mock-name/__tests__/index.js b/e2e/mock-names/with-mock-name/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name/__tests__/index.js rename to e2e/mock-names/with-mock-name/__tests__/index.js diff --git a/integration-tests/mock-names/with-mock-name/index.js b/e2e/mock-names/with-mock-name/index.js similarity index 100% rename from integration-tests/mock-names/with-mock-name/index.js rename to e2e/mock-names/with-mock-name/index.js diff --git a/integration-tests/mock-names/with-mock-name/package.json b/e2e/mock-names/with-mock-name/package.json similarity index 100% rename from integration-tests/mock-names/with-mock-name/package.json rename to e2e/mock-names/with-mock-name/package.json diff --git a/integration-tests/mock-names/without-mock-name-not-called/__tests__/index.js b/e2e/mock-names/without-mock-name-not-called/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/without-mock-name-not-called/__tests__/index.js rename to e2e/mock-names/without-mock-name-not-called/__tests__/index.js diff --git a/integration-tests/mock-names/without-mock-name-not-called/index.js b/e2e/mock-names/without-mock-name-not-called/index.js similarity index 100% rename from integration-tests/mock-names/without-mock-name-not-called/index.js rename to e2e/mock-names/without-mock-name-not-called/index.js diff --git a/integration-tests/mock-names/without-mock-name-not-called/package.json b/e2e/mock-names/without-mock-name-not-called/package.json similarity index 100% rename from integration-tests/mock-names/without-mock-name-not-called/package.json rename to e2e/mock-names/without-mock-name-not-called/package.json diff --git a/integration-tests/mock-names/without-mock-name/__tests__/index.js b/e2e/mock-names/without-mock-name/__tests__/index.js similarity index 100% rename from integration-tests/mock-names/without-mock-name/__tests__/index.js rename to e2e/mock-names/without-mock-name/__tests__/index.js diff --git a/integration-tests/mock-names/without-mock-name/index.js b/e2e/mock-names/without-mock-name/index.js similarity index 100% rename from integration-tests/mock-names/without-mock-name/index.js rename to e2e/mock-names/without-mock-name/index.js diff --git a/integration-tests/mock-names/without-mock-name/package.json b/e2e/mock-names/without-mock-name/package.json similarity index 100% rename from integration-tests/mock-names/without-mock-name/package.json rename to e2e/mock-names/without-mock-name/package.json diff --git a/integration-tests/module-name-mapper-correct-config/__mocks__/style_mock.js b/e2e/module-name-mapper-correct-config/__mocks__/style_mock.js similarity index 100% rename from integration-tests/module-name-mapper-correct-config/__mocks__/style_mock.js rename to e2e/module-name-mapper-correct-config/__mocks__/style_mock.js diff --git a/integration-tests/module-name-mapper-correct-config/__tests__/index.js b/e2e/module-name-mapper-correct-config/__tests__/index.js similarity index 100% rename from integration-tests/module-name-mapper-correct-config/__tests__/index.js rename to e2e/module-name-mapper-correct-config/__tests__/index.js diff --git a/integration-tests/module-name-mapper-correct-config/index.js b/e2e/module-name-mapper-correct-config/index.js similarity index 100% rename from integration-tests/module-name-mapper-correct-config/index.js rename to e2e/module-name-mapper-correct-config/index.js diff --git a/integration-tests/module-name-mapper-correct-config/package.json b/e2e/module-name-mapper-correct-config/package.json similarity index 100% rename from integration-tests/module-name-mapper-correct-config/package.json rename to e2e/module-name-mapper-correct-config/package.json diff --git a/integration-tests/module-name-mapper-correct-config/style.css b/e2e/module-name-mapper-correct-config/style.css similarity index 100% rename from integration-tests/module-name-mapper-correct-config/style.css rename to e2e/module-name-mapper-correct-config/style.css diff --git a/integration-tests/module-name-mapper-wrong-config/__tests__/index.js b/e2e/module-name-mapper-wrong-config/__tests__/index.js similarity index 100% rename from integration-tests/module-name-mapper-wrong-config/__tests__/index.js rename to e2e/module-name-mapper-wrong-config/__tests__/index.js diff --git a/integration-tests/module-name-mapper-wrong-config/index.js b/e2e/module-name-mapper-wrong-config/index.js similarity index 100% rename from integration-tests/module-name-mapper-wrong-config/index.js rename to e2e/module-name-mapper-wrong-config/index.js diff --git a/integration-tests/module-name-mapper-wrong-config/package.json b/e2e/module-name-mapper-wrong-config/package.json similarity index 100% rename from integration-tests/module-name-mapper-wrong-config/package.json rename to e2e/module-name-mapper-wrong-config/package.json diff --git a/integration-tests/module-name-mapper-wrong-config/style.css b/e2e/module-name-mapper-wrong-config/style.css similarity index 100% rename from integration-tests/module-name-mapper-wrong-config/style.css rename to e2e/module-name-mapper-wrong-config/style.css diff --git a/integration-tests/module_parent_null_in_test/__tests__/index.js b/e2e/module_parent_null_in_test/__tests__/index.js similarity index 100% rename from integration-tests/module_parent_null_in_test/__tests__/index.js rename to e2e/module_parent_null_in_test/__tests__/index.js diff --git a/integration-tests/module_parent_null_in_test/package.json b/e2e/module_parent_null_in_test/package.json similarity index 100% rename from integration-tests/module_parent_null_in_test/package.json rename to e2e/module_parent_null_in_test/package.json diff --git a/integration-tests/multi-project-config-root/bar/__tests__/boggus-bar.test.js b/e2e/multi-project-config-root/bar/__tests__/boggus-bar.test.js similarity index 100% rename from integration-tests/multi-project-config-root/bar/__tests__/boggus-bar.test.js rename to e2e/multi-project-config-root/bar/__tests__/boggus-bar.test.js diff --git a/integration-tests/multi-project-config-root/foo/__tests__/boggus-foo.test.js b/e2e/multi-project-config-root/foo/__tests__/boggus-foo.test.js similarity index 100% rename from integration-tests/multi-project-config-root/foo/__tests__/boggus-foo.test.js rename to e2e/multi-project-config-root/foo/__tests__/boggus-foo.test.js diff --git a/integration-tests/multi-project-config-root/package.json b/e2e/multi-project-config-root/package.json similarity index 100% rename from integration-tests/multi-project-config-root/package.json rename to e2e/multi-project-config-root/package.json diff --git a/integration-tests/native-async-mock/.babelrc b/e2e/native-async-mock/.babelrc similarity index 100% rename from integration-tests/native-async-mock/.babelrc rename to e2e/native-async-mock/.babelrc diff --git a/integration-tests/native-async-mock/Native.js b/e2e/native-async-mock/Native.js similarity index 100% rename from integration-tests/native-async-mock/Native.js rename to e2e/native-async-mock/Native.js diff --git a/integration-tests/native-async-mock/__tests__/native_async_mock.test.js b/e2e/native-async-mock/__tests__/native_async_mock.test.js similarity index 100% rename from integration-tests/native-async-mock/__tests__/native_async_mock.test.js rename to e2e/native-async-mock/__tests__/native_async_mock.test.js diff --git a/integration-tests/native-async-mock/package.json b/e2e/native-async-mock/package.json similarity index 100% rename from integration-tests/native-async-mock/package.json rename to e2e/native-async-mock/package.json diff --git a/integration-tests/native-async-mock/yarn.lock b/e2e/native-async-mock/yarn.lock similarity index 100% rename from integration-tests/native-async-mock/yarn.lock rename to e2e/native-async-mock/yarn.lock diff --git a/integration-tests/nested-event-loop/__tests__/nested_event_loop.test.js b/e2e/nested-event-loop/__tests__/nested_event_loop.test.js similarity index 100% rename from integration-tests/nested-event-loop/__tests__/nested_event_loop.test.js rename to e2e/nested-event-loop/__tests__/nested_event_loop.test.js diff --git a/integration-tests/nested-event-loop/package.json b/e2e/nested-event-loop/package.json similarity index 100% rename from integration-tests/nested-event-loop/package.json rename to e2e/nested-event-loop/package.json diff --git a/integration-tests/no-tests-found-test/package.json b/e2e/no-tests-found-test/package.json similarity index 100% rename from integration-tests/no-tests-found-test/package.json rename to e2e/no-tests-found-test/package.json diff --git a/integration-tests/node-path/__tests__/node_path.test.js b/e2e/node-path/__tests__/node_path.test.js similarity index 100% rename from integration-tests/node-path/__tests__/node_path.test.js rename to e2e/node-path/__tests__/node_path.test.js diff --git a/integration-tests/node-path/package.json b/e2e/node-path/package.json similarity index 100% rename from integration-tests/node-path/package.json rename to e2e/node-path/package.json diff --git a/integration-tests/node-path/src/path/file.js b/e2e/node-path/src/path/file.js similarity index 100% rename from integration-tests/node-path/src/path/file.js rename to e2e/node-path/src/path/file.js diff --git a/integration-tests/override-globals/__tests__/index.js b/e2e/override-globals/__tests__/index.js similarity index 100% rename from integration-tests/override-globals/__tests__/index.js rename to e2e/override-globals/__tests__/index.js diff --git a/integration-tests/override-globals/index.js b/e2e/override-globals/index.js similarity index 100% rename from integration-tests/override-globals/index.js rename to e2e/override-globals/index.js diff --git a/integration-tests/override-globals/package.json b/e2e/override-globals/package.json similarity index 100% rename from integration-tests/override-globals/package.json rename to e2e/override-globals/package.json diff --git a/integration-tests/package.json b/e2e/package.json similarity index 100% rename from integration-tests/package.json rename to e2e/package.json diff --git a/integration-tests/presets/js/__tests__/index.js b/e2e/presets/js/__tests__/index.js similarity index 100% rename from integration-tests/presets/js/__tests__/index.js rename to e2e/presets/js/__tests__/index.js diff --git a/integration-tests/presets/js/node_modules/jest-preset-js/jest-preset.js b/e2e/presets/js/node_modules/jest-preset-js/jest-preset.js similarity index 100% rename from integration-tests/presets/js/node_modules/jest-preset-js/jest-preset.js rename to e2e/presets/js/node_modules/jest-preset-js/jest-preset.js diff --git a/integration-tests/presets/js/node_modules/jest-preset-js/mapper.js b/e2e/presets/js/node_modules/jest-preset-js/mapper.js similarity index 100% rename from integration-tests/presets/js/node_modules/jest-preset-js/mapper.js rename to e2e/presets/js/node_modules/jest-preset-js/mapper.js diff --git a/integration-tests/presets/js/package.json b/e2e/presets/js/package.json similarity index 100% rename from integration-tests/presets/js/package.json rename to e2e/presets/js/package.json diff --git a/integration-tests/presets/json/__tests__/index.js b/e2e/presets/json/__tests__/index.js similarity index 100% rename from integration-tests/presets/json/__tests__/index.js rename to e2e/presets/json/__tests__/index.js diff --git a/integration-tests/presets/json/node_modules/jest-preset-json/jest-preset.json b/e2e/presets/json/node_modules/jest-preset-json/jest-preset.json similarity index 100% rename from integration-tests/presets/json/node_modules/jest-preset-json/jest-preset.json rename to e2e/presets/json/node_modules/jest-preset-json/jest-preset.json diff --git a/integration-tests/presets/json/node_modules/jest-preset-json/mapper.js b/e2e/presets/json/node_modules/jest-preset-json/mapper.js similarity index 100% rename from integration-tests/presets/json/node_modules/jest-preset-json/mapper.js rename to e2e/presets/json/node_modules/jest-preset-json/mapper.js diff --git a/integration-tests/presets/json/package.json b/e2e/presets/json/package.json similarity index 100% rename from integration-tests/presets/json/package.json rename to e2e/presets/json/package.json diff --git a/integration-tests/regex-(char-in-path/__tests__/regex_(char_in_path.test.js b/e2e/regex-(char-in-path/__tests__/regex_(char_in_path.test.js similarity index 100% rename from integration-tests/regex-(char-in-path/__tests__/regex_(char_in_path.test.js rename to e2e/regex-(char-in-path/__tests__/regex_(char_in_path.test.js diff --git a/integration-tests/regex-(char-in-path/package.json b/e2e/regex-(char-in-path/package.json similarity index 100% rename from integration-tests/regex-(char-in-path/package.json rename to e2e/regex-(char-in-path/package.json diff --git a/integration-tests/require-after-teardown/__tests__/late-require.test.js b/e2e/require-after-teardown/__tests__/late-require.test.js similarity index 100% rename from integration-tests/require-after-teardown/__tests__/late-require.test.js rename to e2e/require-after-teardown/__tests__/late-require.test.js diff --git a/integration-tests/require-after-teardown/index.js b/e2e/require-after-teardown/index.js similarity index 100% rename from integration-tests/require-after-teardown/index.js rename to e2e/require-after-teardown/index.js diff --git a/integration-tests/require-after-teardown/package.json b/e2e/require-after-teardown/package.json similarity index 100% rename from integration-tests/require-after-teardown/package.json rename to e2e/require-after-teardown/package.json diff --git a/integration-tests/require-main/__tests__/loader.test.js b/e2e/require-main/__tests__/loader.test.js similarity index 100% rename from integration-tests/require-main/__tests__/loader.test.js rename to e2e/require-main/__tests__/loader.test.js diff --git a/integration-tests/require-main/example.js b/e2e/require-main/example.js similarity index 100% rename from integration-tests/require-main/example.js rename to e2e/require-main/example.js diff --git a/integration-tests/require-main/loader.js b/e2e/require-main/loader.js similarity index 100% rename from integration-tests/require-main/loader.js rename to e2e/require-main/loader.js diff --git a/integration-tests/require-main/package.json b/e2e/require-main/package.json similarity index 100% rename from integration-tests/require-main/package.json rename to e2e/require-main/package.json diff --git a/integration-tests/resolve-node-module/__mocks__/mock-jsx-module/index.jsx b/e2e/resolve-node-module/__mocks__/mock-jsx-module/index.jsx similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-jsx-module/index.jsx rename to e2e/resolve-node-module/__mocks__/mock-jsx-module/index.jsx diff --git a/integration-tests/resolve-node-module/__mocks__/mock-jsx-module/package.json b/e2e/resolve-node-module/__mocks__/mock-jsx-module/package.json similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-jsx-module/package.json rename to e2e/resolve-node-module/__mocks__/mock-jsx-module/package.json diff --git a/integration-tests/resolve-node-module/__mocks__/mock-module-alt/index.js b/e2e/resolve-node-module/__mocks__/mock-module-alt/index.js similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-module-alt/index.js rename to e2e/resolve-node-module/__mocks__/mock-module-alt/index.js diff --git a/integration-tests/resolve-node-module/__mocks__/mock-module-alt/package.json b/e2e/resolve-node-module/__mocks__/mock-module-alt/package.json similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-module-alt/package.json rename to e2e/resolve-node-module/__mocks__/mock-module-alt/package.json diff --git a/integration-tests/resolve-node-module/__mocks__/mock-module-without-pkg/index.js b/e2e/resolve-node-module/__mocks__/mock-module-without-pkg/index.js similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-module-without-pkg/index.js rename to e2e/resolve-node-module/__mocks__/mock-module-without-pkg/index.js diff --git a/integration-tests/resolve-node-module/__mocks__/mock-module/index.js b/e2e/resolve-node-module/__mocks__/mock-module/index.js similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-module/index.js rename to e2e/resolve-node-module/__mocks__/mock-module/index.js diff --git a/integration-tests/resolve-node-module/__mocks__/mock-module/package.json b/e2e/resolve-node-module/__mocks__/mock-module/package.json similarity index 100% rename from integration-tests/resolve-node-module/__mocks__/mock-module/package.json rename to e2e/resolve-node-module/__mocks__/mock-module/package.json diff --git a/integration-tests/resolve-node-module/__tests__/resolve-node-module.test.js b/e2e/resolve-node-module/__tests__/resolve-node-module.test.js similarity index 100% rename from integration-tests/resolve-node-module/__tests__/resolve-node-module.test.js rename to e2e/resolve-node-module/__tests__/resolve-node-module.test.js diff --git a/integration-tests/resolve-node-module/package.json b/e2e/resolve-node-module/package.json similarity index 100% rename from integration-tests/resolve-node-module/package.json rename to e2e/resolve-node-module/package.json diff --git a/integration-tests/resolve/__tests__/resolve.test.js b/e2e/resolve/__tests__/resolve.test.js similarity index 100% rename from integration-tests/resolve/__tests__/resolve.test.js rename to e2e/resolve/__tests__/resolve.test.js diff --git a/integration-tests/resolve/package.json b/e2e/resolve/package.json similarity index 100% rename from integration-tests/resolve/package.json rename to e2e/resolve/package.json diff --git a/integration-tests/resolve/test1.android.js b/e2e/resolve/test1.android.js similarity index 100% rename from integration-tests/resolve/test1.android.js rename to e2e/resolve/test1.android.js diff --git a/integration-tests/resolve/test1.js b/e2e/resolve/test1.js similarity index 100% rename from integration-tests/resolve/test1.js rename to e2e/resolve/test1.js diff --git a/integration-tests/resolve/test1.json b/e2e/resolve/test1.json similarity index 100% rename from integration-tests/resolve/test1.json rename to e2e/resolve/test1.json diff --git a/integration-tests/resolve/test1.native.js b/e2e/resolve/test1.native.js similarity index 100% rename from integration-tests/resolve/test1.native.js rename to e2e/resolve/test1.native.js diff --git a/integration-tests/resolve/test2.js b/e2e/resolve/test2.js similarity index 100% rename from integration-tests/resolve/test2.js rename to e2e/resolve/test2.js diff --git a/integration-tests/resolve/test2.json b/e2e/resolve/test2.json similarity index 100% rename from integration-tests/resolve/test2.json rename to e2e/resolve/test2.json diff --git a/integration-tests/resolve/test2.native.js b/e2e/resolve/test2.native.js similarity index 100% rename from integration-tests/resolve/test2.native.js rename to e2e/resolve/test2.native.js diff --git a/integration-tests/resolve/test3.js b/e2e/resolve/test3.js similarity index 100% rename from integration-tests/resolve/test3.js rename to e2e/resolve/test3.js diff --git a/integration-tests/resolve/test3.json b/e2e/resolve/test3.json similarity index 100% rename from integration-tests/resolve/test3.json rename to e2e/resolve/test3.json diff --git a/integration-tests/resolve/test4.json b/e2e/resolve/test4.json similarity index 100% rename from integration-tests/resolve/test4.json rename to e2e/resolve/test4.json diff --git a/integration-tests/runJest.js b/e2e/runJest.js similarity index 100% rename from integration-tests/runJest.js rename to e2e/runJest.js diff --git a/integration-tests/runtime-internal-module-registry/__mocks__/fs.js b/e2e/runtime-internal-module-registry/__mocks__/fs.js similarity index 100% rename from integration-tests/runtime-internal-module-registry/__mocks__/fs.js rename to e2e/runtime-internal-module-registry/__mocks__/fs.js diff --git a/integration-tests/runtime-internal-module-registry/__tests__/runtime_internal_module_registry.test.js b/e2e/runtime-internal-module-registry/__tests__/runtime_internal_module_registry.test.js similarity index 100% rename from integration-tests/runtime-internal-module-registry/__tests__/runtime_internal_module_registry.test.js rename to e2e/runtime-internal-module-registry/__tests__/runtime_internal_module_registry.test.js diff --git a/integration-tests/runtime-internal-module-registry/package.json b/e2e/runtime-internal-module-registry/package.json similarity index 100% rename from integration-tests/runtime-internal-module-registry/package.json rename to e2e/runtime-internal-module-registry/package.json diff --git a/integration-tests/set-immediate/__tests__/set_immediate.test.js b/e2e/set-immediate/__tests__/set_immediate.test.js similarity index 100% rename from integration-tests/set-immediate/__tests__/set_immediate.test.js rename to e2e/set-immediate/__tests__/set_immediate.test.js diff --git a/integration-tests/set-immediate/package.json b/e2e/set-immediate/package.json similarity index 100% rename from integration-tests/set-immediate/package.json rename to e2e/set-immediate/package.json diff --git a/integration-tests/setup-test-framework-script-file-cli-config/__tests__/runner_patch.test.js b/e2e/setup-test-framework-script-file-cli-config/__tests__/runner_patch.test.js similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/__tests__/runner_patch.test.js rename to e2e/setup-test-framework-script-file-cli-config/__tests__/runner_patch.test.js diff --git a/integration-tests/setup-test-framework-script-file-cli-config/__tests__/test1.test.js b/e2e/setup-test-framework-script-file-cli-config/__tests__/test1.test.js similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/__tests__/test1.test.js rename to e2e/setup-test-framework-script-file-cli-config/__tests__/test1.test.js diff --git a/integration-tests/setup-test-framework-script-file-cli-config/__tests__/test2.test.js b/e2e/setup-test-framework-script-file-cli-config/__tests__/test2.test.js similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/__tests__/test2.test.js rename to e2e/setup-test-framework-script-file-cli-config/__tests__/test2.test.js diff --git a/integration-tests/setup-test-framework-script-file-cli-config/package.json b/e2e/setup-test-framework-script-file-cli-config/package.json similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/package.json rename to e2e/setup-test-framework-script-file-cli-config/package.json diff --git a/integration-tests/setup-test-framework-script-file-cli-config/setup1.js b/e2e/setup-test-framework-script-file-cli-config/setup1.js similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/setup1.js rename to e2e/setup-test-framework-script-file-cli-config/setup1.js diff --git a/integration-tests/setup-test-framework-script-file-cli-config/setup_hooks_into_runner.js b/e2e/setup-test-framework-script-file-cli-config/setup_hooks_into_runner.js similarity index 100% rename from integration-tests/setup-test-framework-script-file-cli-config/setup_hooks_into_runner.js rename to e2e/setup-test-framework-script-file-cli-config/setup_hooks_into_runner.js diff --git a/integration-tests/snapshot-escape/__tests__/snapshot.test.js b/e2e/snapshot-escape/__tests__/snapshot.test.js similarity index 100% rename from integration-tests/snapshot-escape/__tests__/snapshot.test.js rename to e2e/snapshot-escape/__tests__/snapshot.test.js diff --git a/integration-tests/snapshot-escape/__tests__/snapshot_escape_regex.js b/e2e/snapshot-escape/__tests__/snapshot_escape_regex.js similarity index 100% rename from integration-tests/snapshot-escape/__tests__/snapshot_escape_regex.js rename to e2e/snapshot-escape/__tests__/snapshot_escape_regex.js diff --git a/integration-tests/snapshot-escape/__tests__/snapshot_escape_substitution.test.js b/e2e/snapshot-escape/__tests__/snapshot_escape_substitution.test.js similarity index 100% rename from integration-tests/snapshot-escape/__tests__/snapshot_escape_substitution.test.js rename to e2e/snapshot-escape/__tests__/snapshot_escape_substitution.test.js diff --git a/integration-tests/snapshot-escape/package.json b/e2e/snapshot-escape/package.json similarity index 100% rename from integration-tests/snapshot-escape/package.json rename to e2e/snapshot-escape/package.json diff --git a/integration-tests/snapshot-serializers/Transformer.js b/e2e/snapshot-serializers/Transformer.js similarity index 100% rename from integration-tests/snapshot-serializers/Transformer.js rename to e2e/snapshot-serializers/Transformer.js diff --git a/integration-tests/snapshot-serializers/Utils.js b/e2e/snapshot-serializers/Utils.js similarity index 100% rename from integration-tests/snapshot-serializers/Utils.js rename to e2e/snapshot-serializers/Utils.js diff --git a/integration-tests/snapshot-serializers/__tests__/snapshot.test.js b/e2e/snapshot-serializers/__tests__/snapshot.test.js similarity index 100% rename from integration-tests/snapshot-serializers/__tests__/snapshot.test.js rename to e2e/snapshot-serializers/__tests__/snapshot.test.js diff --git a/integration-tests/snapshot-serializers/package.json b/e2e/snapshot-serializers/package.json similarity index 100% rename from integration-tests/snapshot-serializers/package.json rename to e2e/snapshot-serializers/package.json diff --git a/integration-tests/snapshot-serializers/plugins/bar.js b/e2e/snapshot-serializers/plugins/bar.js similarity index 100% rename from integration-tests/snapshot-serializers/plugins/bar.js rename to e2e/snapshot-serializers/plugins/bar.js diff --git a/integration-tests/snapshot-serializers/plugins/foo/index.js b/e2e/snapshot-serializers/plugins/foo/index.js similarity index 100% rename from integration-tests/snapshot-serializers/plugins/foo/index.js rename to e2e/snapshot-serializers/plugins/foo/index.js diff --git a/integration-tests/snapshot/__tests__/second_snapshot.test.js b/e2e/snapshot/__tests__/second_snapshot.test.js similarity index 100% rename from integration-tests/snapshot/__tests__/second_snapshot.test.js rename to e2e/snapshot/__tests__/second_snapshot.test.js diff --git a/integration-tests/snapshot/__tests__/snapshot.test.js b/e2e/snapshot/__tests__/snapshot.test.js similarity index 100% rename from integration-tests/snapshot/__tests__/snapshot.test.js rename to e2e/snapshot/__tests__/snapshot.test.js diff --git a/integration-tests/snapshot/package.json b/e2e/snapshot/package.json similarity index 100% rename from integration-tests/snapshot/package.json rename to e2e/snapshot/package.json diff --git a/integration-tests/stack-trace-no-capture-stack-trace/__tests__/runtime_error.test.js b/e2e/stack-trace-no-capture-stack-trace/__tests__/runtime_error.test.js similarity index 100% rename from integration-tests/stack-trace-no-capture-stack-trace/__tests__/runtime_error.test.js rename to e2e/stack-trace-no-capture-stack-trace/__tests__/runtime_error.test.js diff --git a/integration-tests/stack-trace-no-capture-stack-trace/package.json b/e2e/stack-trace-no-capture-stack-trace/package.json similarity index 100% rename from integration-tests/stack-trace-no-capture-stack-trace/package.json rename to e2e/stack-trace-no-capture-stack-trace/package.json diff --git a/integration-tests/stack-trace-source-maps/Preprocessor.js b/e2e/stack-trace-source-maps/Preprocessor.js similarity index 100% rename from integration-tests/stack-trace-source-maps/Preprocessor.js rename to e2e/stack-trace-source-maps/Preprocessor.js diff --git a/integration-tests/stack-trace-source-maps/__tests__/fails.ts b/e2e/stack-trace-source-maps/__tests__/fails.ts similarity index 100% rename from integration-tests/stack-trace-source-maps/__tests__/fails.ts rename to e2e/stack-trace-source-maps/__tests__/fails.ts diff --git a/integration-tests/stack-trace-source-maps/package.json b/e2e/stack-trace-source-maps/package.json similarity index 100% rename from integration-tests/stack-trace-source-maps/package.json rename to e2e/stack-trace-source-maps/package.json diff --git a/integration-tests/stack-trace-source-maps/yarn.lock b/e2e/stack-trace-source-maps/yarn.lock similarity index 100% rename from integration-tests/stack-trace-source-maps/yarn.lock rename to e2e/stack-trace-source-maps/yarn.lock diff --git a/integration-tests/stack-trace/__tests__/runtime_error.test.js b/e2e/stack-trace/__tests__/runtime_error.test.js similarity index 100% rename from integration-tests/stack-trace/__tests__/runtime_error.test.js rename to e2e/stack-trace/__tests__/runtime_error.test.js diff --git a/integration-tests/stack-trace/__tests__/stack_trace.test.js b/e2e/stack-trace/__tests__/stack_trace.test.js similarity index 100% rename from integration-tests/stack-trace/__tests__/stack_trace.test.js rename to e2e/stack-trace/__tests__/stack_trace.test.js diff --git a/integration-tests/stack-trace/__tests__/stack_trace_without_message.test.js b/e2e/stack-trace/__tests__/stack_trace_without_message.test.js similarity index 100% rename from integration-tests/stack-trace/__tests__/stack_trace_without_message.test.js rename to e2e/stack-trace/__tests__/stack_trace_without_message.test.js diff --git a/integration-tests/stack-trace/__tests__/test_error.test.js b/e2e/stack-trace/__tests__/test_error.test.js similarity index 100% rename from integration-tests/stack-trace/__tests__/test_error.test.js rename to e2e/stack-trace/__tests__/test_error.test.js diff --git a/integration-tests/stack-trace/package.json b/e2e/stack-trace/package.json similarity index 100% rename from integration-tests/stack-trace/package.json rename to e2e/stack-trace/package.json diff --git a/integration-tests/test-environment-async/TestEnvironment.js b/e2e/test-environment-async/TestEnvironment.js similarity index 100% rename from integration-tests/test-environment-async/TestEnvironment.js rename to e2e/test-environment-async/TestEnvironment.js diff --git a/integration-tests/test-environment-async/__tests__/custom.test.js b/e2e/test-environment-async/__tests__/custom.test.js similarity index 100% rename from integration-tests/test-environment-async/__tests__/custom.test.js rename to e2e/test-environment-async/__tests__/custom.test.js diff --git a/integration-tests/test-environment-async/package.json b/e2e/test-environment-async/package.json similarity index 100% rename from integration-tests/test-environment-async/package.json rename to e2e/test-environment-async/package.json diff --git a/integration-tests/test-environment/__tests__/env.test.js b/e2e/test-environment/__tests__/env.test.js similarity index 100% rename from integration-tests/test-environment/__tests__/env.test.js rename to e2e/test-environment/__tests__/env.test.js diff --git a/integration-tests/test-environment/package.json b/e2e/test-environment/package.json similarity index 100% rename from integration-tests/test-environment/package.json rename to e2e/test-environment/package.json diff --git a/integration-tests/test-in-root/foo.js b/e2e/test-in-root/foo.js similarity index 100% rename from integration-tests/test-in-root/foo.js rename to e2e/test-in-root/foo.js diff --git a/integration-tests/test-in-root/footest.js b/e2e/test-in-root/footest.js similarity index 100% rename from integration-tests/test-in-root/footest.js rename to e2e/test-in-root/footest.js diff --git a/integration-tests/test-in-root/package.json b/e2e/test-in-root/package.json similarity index 100% rename from integration-tests/test-in-root/package.json rename to e2e/test-in-root/package.json diff --git a/integration-tests/test-in-root/spec.js b/e2e/test-in-root/spec.js similarity index 100% rename from integration-tests/test-in-root/spec.js rename to e2e/test-in-root/spec.js diff --git a/integration-tests/test-in-root/test.js b/e2e/test-in-root/test.js similarity index 100% rename from integration-tests/test-in-root/test.js rename to e2e/test-in-root/test.js diff --git a/integration-tests/testNamePattern/__tests__/test_name_pattern.test.js b/e2e/testNamePattern/__tests__/test_name_pattern.test.js similarity index 100% rename from integration-tests/testNamePattern/__tests__/test_name_pattern.test.js rename to e2e/testNamePattern/__tests__/test_name_pattern.test.js diff --git a/integration-tests/testNamePattern/package.json b/e2e/testNamePattern/package.json similarity index 100% rename from integration-tests/testNamePattern/package.json rename to e2e/testNamePattern/package.json diff --git a/integration-tests/testResultsProcessor/__tests__/processor.test.js b/e2e/testResultsProcessor/__tests__/processor.test.js similarity index 100% rename from integration-tests/testResultsProcessor/__tests__/processor.test.js rename to e2e/testResultsProcessor/__tests__/processor.test.js diff --git a/integration-tests/testResultsProcessor/package.json b/e2e/testResultsProcessor/package.json similarity index 100% rename from integration-tests/testResultsProcessor/package.json rename to e2e/testResultsProcessor/package.json diff --git a/integration-tests/testResultsProcessor/processor.js b/e2e/testResultsProcessor/processor.js similarity index 100% rename from integration-tests/testResultsProcessor/processor.js rename to e2e/testResultsProcessor/processor.js diff --git a/integration-tests/timer-reset-mocks/after-reset-all-mocks/index.js b/e2e/timer-reset-mocks/after-reset-all-mocks/index.js similarity index 100% rename from integration-tests/timer-reset-mocks/after-reset-all-mocks/index.js rename to e2e/timer-reset-mocks/after-reset-all-mocks/index.js diff --git a/integration-tests/timer-reset-mocks/after-reset-all-mocks/package.json b/e2e/timer-reset-mocks/after-reset-all-mocks/package.json similarity index 100% rename from integration-tests/timer-reset-mocks/after-reset-all-mocks/package.json rename to e2e/timer-reset-mocks/after-reset-all-mocks/package.json diff --git a/integration-tests/timer-reset-mocks/after-reset-all-mocks/timer_and_mock.test.js b/e2e/timer-reset-mocks/after-reset-all-mocks/timer_and_mock.test.js similarity index 100% rename from integration-tests/timer-reset-mocks/after-reset-all-mocks/timer_and_mock.test.js rename to e2e/timer-reset-mocks/after-reset-all-mocks/timer_and_mock.test.js diff --git a/integration-tests/timer-reset-mocks/with-reset-mocks/index.js b/e2e/timer-reset-mocks/with-reset-mocks/index.js similarity index 100% rename from integration-tests/timer-reset-mocks/with-reset-mocks/index.js rename to e2e/timer-reset-mocks/with-reset-mocks/index.js diff --git a/integration-tests/timer-reset-mocks/with-reset-mocks/package.json b/e2e/timer-reset-mocks/with-reset-mocks/package.json similarity index 100% rename from integration-tests/timer-reset-mocks/with-reset-mocks/package.json rename to e2e/timer-reset-mocks/with-reset-mocks/package.json diff --git a/integration-tests/timer-reset-mocks/with-reset-mocks/timer_with_mock.test.js b/e2e/timer-reset-mocks/with-reset-mocks/timer_with_mock.test.js similarity index 100% rename from integration-tests/timer-reset-mocks/with-reset-mocks/timer_with_mock.test.js rename to e2e/timer-reset-mocks/with-reset-mocks/timer_with_mock.test.js diff --git a/integration-tests/timer-use-real-timers/__tests__/use_real_timers.test.js b/e2e/timer-use-real-timers/__tests__/use_real_timers.test.js similarity index 100% rename from integration-tests/timer-use-real-timers/__tests__/use_real_timers.test.js rename to e2e/timer-use-real-timers/__tests__/use_real_timers.test.js diff --git a/integration-tests/timer-use-real-timers/package.json b/e2e/timer-use-real-timers/package.json similarity index 100% rename from integration-tests/timer-use-real-timers/package.json rename to e2e/timer-use-real-timers/package.json diff --git a/integration-tests/toMatchSnapshot/package.json b/e2e/toMatchSnapshot/package.json similarity index 100% rename from integration-tests/toMatchSnapshot/package.json rename to e2e/toMatchSnapshot/package.json diff --git a/integration-tests/toThrowErrorMatchingSnapshot/package.json b/e2e/toThrowErrorMatchingSnapshot/package.json similarity index 100% rename from integration-tests/toThrowErrorMatchingSnapshot/package.json rename to e2e/toThrowErrorMatchingSnapshot/package.json diff --git a/integration-tests/transform-linked-modules/Preprocessor.js b/e2e/transform-linked-modules/Preprocessor.js similarity index 100% rename from integration-tests/transform-linked-modules/Preprocessor.js rename to e2e/transform-linked-modules/Preprocessor.js diff --git a/integration-tests/transform-linked-modules/__tests__/linked-modules.test.js b/e2e/transform-linked-modules/__tests__/linked-modules.test.js similarity index 100% rename from integration-tests/transform-linked-modules/__tests__/linked-modules.test.js rename to e2e/transform-linked-modules/__tests__/linked-modules.test.js diff --git a/integration-tests/transform-linked-modules/ignored/normal.js b/e2e/transform-linked-modules/ignored/normal.js similarity index 100% rename from integration-tests/transform-linked-modules/ignored/normal.js rename to e2e/transform-linked-modules/ignored/normal.js diff --git a/integration-tests/transform-linked-modules/ignored/symlink.js b/e2e/transform-linked-modules/ignored/symlink.js similarity index 100% rename from integration-tests/transform-linked-modules/ignored/symlink.js rename to e2e/transform-linked-modules/ignored/symlink.js diff --git a/integration-tests/transform-linked-modules/package.json b/e2e/transform-linked-modules/package.json similarity index 100% rename from integration-tests/transform-linked-modules/package.json rename to e2e/transform-linked-modules/package.json diff --git a/integration-tests/transform-linked-modules/package/index.js b/e2e/transform-linked-modules/package/index.js similarity index 100% rename from integration-tests/transform-linked-modules/package/index.js rename to e2e/transform-linked-modules/package/index.js diff --git a/integration-tests/transform/babel-jest/.babelrc b/e2e/transform/babel-jest/.babelrc similarity index 100% rename from integration-tests/transform/babel-jest/.babelrc rename to e2e/transform/babel-jest/.babelrc diff --git a/integration-tests/transform/babel-jest/NotCovered.js b/e2e/transform/babel-jest/NotCovered.js similarity index 100% rename from integration-tests/transform/babel-jest/NotCovered.js rename to e2e/transform/babel-jest/NotCovered.js diff --git a/integration-tests/transform/babel-jest/__tests__/babel_jest.test.js b/e2e/transform/babel-jest/__tests__/babel_jest.test.js similarity index 100% rename from integration-tests/transform/babel-jest/__tests__/babel_jest.test.js rename to e2e/transform/babel-jest/__tests__/babel_jest.test.js diff --git a/integration-tests/transform/babel-jest/package.json b/e2e/transform/babel-jest/package.json similarity index 100% rename from integration-tests/transform/babel-jest/package.json rename to e2e/transform/babel-jest/package.json diff --git a/integration-tests/transform/babel-jest/this-directory-is-covered/Covered.js b/e2e/transform/babel-jest/this-directory-is-covered/Covered.js similarity index 100% rename from integration-tests/transform/babel-jest/this-directory-is-covered/Covered.js rename to e2e/transform/babel-jest/this-directory-is-covered/Covered.js diff --git a/integration-tests/transform/babel-jest/this-directory-is-covered/ExcludedFromCoverage.js b/e2e/transform/babel-jest/this-directory-is-covered/ExcludedFromCoverage.js similarity index 100% rename from integration-tests/transform/babel-jest/this-directory-is-covered/ExcludedFromCoverage.js rename to e2e/transform/babel-jest/this-directory-is-covered/ExcludedFromCoverage.js diff --git a/integration-tests/transform/babel-jest/yarn.lock b/e2e/transform/babel-jest/yarn.lock similarity index 100% rename from integration-tests/transform/babel-jest/yarn.lock rename to e2e/transform/babel-jest/yarn.lock diff --git a/integration-tests/transform/custom-instrumenting-preprocessor/Preprocessor.js b/e2e/transform/custom-instrumenting-preprocessor/Preprocessor.js similarity index 100% rename from integration-tests/transform/custom-instrumenting-preprocessor/Preprocessor.js rename to e2e/transform/custom-instrumenting-preprocessor/Preprocessor.js diff --git a/integration-tests/transform/custom-instrumenting-preprocessor/__tests__/custom_preprocessor.test.js b/e2e/transform/custom-instrumenting-preprocessor/__tests__/custom_preprocessor.test.js similarity index 100% rename from integration-tests/transform/custom-instrumenting-preprocessor/__tests__/custom_preprocessor.test.js rename to e2e/transform/custom-instrumenting-preprocessor/__tests__/custom_preprocessor.test.js diff --git a/integration-tests/transform/custom-instrumenting-preprocessor/package.json b/e2e/transform/custom-instrumenting-preprocessor/package.json similarity index 100% rename from integration-tests/transform/custom-instrumenting-preprocessor/package.json rename to e2e/transform/custom-instrumenting-preprocessor/package.json diff --git a/integration-tests/transform/custom-instrumenting-preprocessor/src/index.js b/e2e/transform/custom-instrumenting-preprocessor/src/index.js similarity index 100% rename from integration-tests/transform/custom-instrumenting-preprocessor/src/index.js rename to e2e/transform/custom-instrumenting-preprocessor/src/index.js diff --git a/integration-tests/transform/custom-instrumenting-preprocessor/src/someOtherFile.js b/e2e/transform/custom-instrumenting-preprocessor/src/someOtherFile.js similarity index 100% rename from integration-tests/transform/custom-instrumenting-preprocessor/src/someOtherFile.js rename to e2e/transform/custom-instrumenting-preprocessor/src/someOtherFile.js diff --git a/integration-tests/transform/ecmascript-modules-support/.babelrc b/e2e/transform/ecmascript-modules-support/.babelrc similarity index 100% rename from integration-tests/transform/ecmascript-modules-support/.babelrc rename to e2e/transform/ecmascript-modules-support/.babelrc diff --git a/integration-tests/transform/ecmascript-modules-support/__tests__/ecmascript-modules-support.mjs b/e2e/transform/ecmascript-modules-support/__tests__/ecmascript-modules-support.mjs similarity index 100% rename from integration-tests/transform/ecmascript-modules-support/__tests__/ecmascript-modules-support.mjs rename to e2e/transform/ecmascript-modules-support/__tests__/ecmascript-modules-support.mjs diff --git a/integration-tests/transform/ecmascript-modules-support/package.json b/e2e/transform/ecmascript-modules-support/package.json similarity index 100% rename from integration-tests/transform/ecmascript-modules-support/package.json rename to e2e/transform/ecmascript-modules-support/package.json diff --git a/integration-tests/transform/ecmascript-modules-support/src/index.mjs b/e2e/transform/ecmascript-modules-support/src/index.mjs similarity index 100% rename from integration-tests/transform/ecmascript-modules-support/src/index.mjs rename to e2e/transform/ecmascript-modules-support/src/index.mjs diff --git a/integration-tests/transform/ecmascript-modules-support/src/module.mjs b/e2e/transform/ecmascript-modules-support/src/module.mjs similarity index 100% rename from integration-tests/transform/ecmascript-modules-support/src/module.mjs rename to e2e/transform/ecmascript-modules-support/src/module.mjs diff --git a/integration-tests/transform/multiple-transformers/.babelrc b/e2e/transform/multiple-transformers/.babelrc similarity index 100% rename from integration-tests/transform/multiple-transformers/.babelrc rename to e2e/transform/multiple-transformers/.babelrc diff --git a/integration-tests/transform/multiple-transformers/CssPreprocessor.js b/e2e/transform/multiple-transformers/CssPreprocessor.js similarity index 100% rename from integration-tests/transform/multiple-transformers/CssPreprocessor.js rename to e2e/transform/multiple-transformers/CssPreprocessor.js diff --git a/integration-tests/transform/multiple-transformers/FilePreprocessor.js b/e2e/transform/multiple-transformers/FilePreprocessor.js similarity index 100% rename from integration-tests/transform/multiple-transformers/FilePreprocessor.js rename to e2e/transform/multiple-transformers/FilePreprocessor.js diff --git a/integration-tests/transform/multiple-transformers/JsPreprocessor.js b/e2e/transform/multiple-transformers/JsPreprocessor.js similarity index 100% rename from integration-tests/transform/multiple-transformers/JsPreprocessor.js rename to e2e/transform/multiple-transformers/JsPreprocessor.js diff --git a/integration-tests/transform/multiple-transformers/__tests__/__snapshots__/multiple_transformers.test.js.snap b/e2e/transform/multiple-transformers/__tests__/__snapshots__/multiple_transformers.test.js.snap similarity index 100% rename from integration-tests/transform/multiple-transformers/__tests__/__snapshots__/multiple_transformers.test.js.snap rename to e2e/transform/multiple-transformers/__tests__/__snapshots__/multiple_transformers.test.js.snap diff --git a/integration-tests/transform/multiple-transformers/__tests__/multiple_transformers.test.js b/e2e/transform/multiple-transformers/__tests__/multiple_transformers.test.js similarity index 100% rename from integration-tests/transform/multiple-transformers/__tests__/multiple_transformers.test.js rename to e2e/transform/multiple-transformers/__tests__/multiple_transformers.test.js diff --git a/integration-tests/transform/multiple-transformers/package.json b/e2e/transform/multiple-transformers/package.json similarity index 100% rename from integration-tests/transform/multiple-transformers/package.json rename to e2e/transform/multiple-transformers/package.json diff --git a/integration-tests/transform/multiple-transformers/src/App.css b/e2e/transform/multiple-transformers/src/App.css similarity index 100% rename from integration-tests/transform/multiple-transformers/src/App.css rename to e2e/transform/multiple-transformers/src/App.css diff --git a/integration-tests/transform/multiple-transformers/src/App.js b/e2e/transform/multiple-transformers/src/App.js similarity index 100% rename from integration-tests/transform/multiple-transformers/src/App.js rename to e2e/transform/multiple-transformers/src/App.js diff --git a/integration-tests/transform/multiple-transformers/src/logo.svg b/e2e/transform/multiple-transformers/src/logo.svg similarity index 100% rename from integration-tests/transform/multiple-transformers/src/logo.svg rename to e2e/transform/multiple-transformers/src/logo.svg diff --git a/integration-tests/transform/multiple-transformers/yarn.lock b/e2e/transform/multiple-transformers/yarn.lock similarity index 100% rename from integration-tests/transform/multiple-transformers/yarn.lock rename to e2e/transform/multiple-transformers/yarn.lock diff --git a/integration-tests/transform/no-babel-jest/__tests__/fails_with_syntax_error.test.js b/e2e/transform/no-babel-jest/__tests__/fails_with_syntax_error.test.js similarity index 100% rename from integration-tests/transform/no-babel-jest/__tests__/fails_with_syntax_error.test.js rename to e2e/transform/no-babel-jest/__tests__/fails_with_syntax_error.test.js diff --git a/integration-tests/transform/no-babel-jest/__tests__/passes-with-no-babel-jest.js b/e2e/transform/no-babel-jest/__tests__/passes-with-no-babel-jest.js similarity index 100% rename from integration-tests/transform/no-babel-jest/__tests__/passes-with-no-babel-jest.js rename to e2e/transform/no-babel-jest/__tests__/passes-with-no-babel-jest.js diff --git a/integration-tests/transform/no-babel-jest/package.json b/e2e/transform/no-babel-jest/package.json similarity index 100% rename from integration-tests/transform/no-babel-jest/package.json rename to e2e/transform/no-babel-jest/package.json diff --git a/integration-tests/transform/no-babel-jest/this-directory-is-covered/Covered.js b/e2e/transform/no-babel-jest/this-directory-is-covered/Covered.js similarity index 100% rename from integration-tests/transform/no-babel-jest/this-directory-is-covered/Covered.js rename to e2e/transform/no-babel-jest/this-directory-is-covered/Covered.js diff --git a/integration-tests/transform/no-babel-jest/this-directory-is-covered/ExcludedFromCoverage.js b/e2e/transform/no-babel-jest/this-directory-is-covered/ExcludedFromCoverage.js similarity index 100% rename from integration-tests/transform/no-babel-jest/this-directory-is-covered/ExcludedFromCoverage.js rename to e2e/transform/no-babel-jest/this-directory-is-covered/ExcludedFromCoverage.js diff --git a/integration-tests/typescript-coverage/TypescriptPreprocessor.js b/e2e/typescript-coverage/TypescriptPreprocessor.js similarity index 100% rename from integration-tests/typescript-coverage/TypescriptPreprocessor.js rename to e2e/typescript-coverage/TypescriptPreprocessor.js diff --git a/integration-tests/typescript-coverage/__tests__/covered-test.ts b/e2e/typescript-coverage/__tests__/covered-test.ts similarity index 100% rename from integration-tests/typescript-coverage/__tests__/covered-test.ts rename to e2e/typescript-coverage/__tests__/covered-test.ts diff --git a/integration-tests/typescript-coverage/covered.ts b/e2e/typescript-coverage/covered.ts similarity index 100% rename from integration-tests/typescript-coverage/covered.ts rename to e2e/typescript-coverage/covered.ts diff --git a/integration-tests/typescript-coverage/package.json b/e2e/typescript-coverage/package.json similarity index 100% rename from integration-tests/typescript-coverage/package.json rename to e2e/typescript-coverage/package.json diff --git a/integration-tests/typescript-coverage/yarn.lock b/e2e/typescript-coverage/yarn.lock similarity index 100% rename from integration-tests/typescript-coverage/yarn.lock rename to e2e/typescript-coverage/yarn.lock diff --git a/integration-tests/verbose-reporter/__tests__/verbose.test.js b/e2e/verbose-reporter/__tests__/verbose.test.js similarity index 100% rename from integration-tests/verbose-reporter/__tests__/verbose.test.js rename to e2e/verbose-reporter/__tests__/verbose.test.js diff --git a/integration-tests/verbose-reporter/package.json b/e2e/verbose-reporter/package.json similarity index 100% rename from integration-tests/verbose-reporter/package.json rename to e2e/verbose-reporter/package.json diff --git a/integration-tests/__tests__/__snapshots__/list_tests.test.js.snap b/integration-tests/__tests__/__snapshots__/list_tests.test.js.snap deleted file mode 100644 index 3c955a90efac..000000000000 --- a/integration-tests/__tests__/__snapshots__/list_tests.test.js.snap +++ /dev/null @@ -1,8 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`--listTests flag causes tests to be printed in different lines 1`] = ` -"/MOCK_ABOLUTE_PATH/integration-tests/list-tests/__tests__/dummy.test.js -/MOCK_ABOLUTE_PATH/integration-tests/list-tests/__tests__/other.test.js" -`; - -exports[`--listTests flag causes tests to be printed out as JSON when using the --json flag 1`] = `"[\\"/MOCK_ABOLUTE_PATH/integration-tests/list-tests/__tests__/dummy.test.js\\",\\"/MOCK_ABOLUTE_PATH/integration-tests/list-tests/__tests__/other.test.js\\"]"`; diff --git a/karma.conf.js b/karma.conf.js index c73b879aca40..aa6cbffd0850 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -8,10 +8,10 @@ module.exports = config => { config.set({ browsers: ['ChromeHeadless'], - files: ['integration-tests/browser-support/browser-test.js'], + files: ['e2e/browser-support/browser-test.js'], frameworks: ['mocha', 'browserify'], preprocessors: { - 'integration-tests/browser-support/browser-test.js': ['browserify'], + 'e2e/browser-support/browser-test.js': ['browserify'], }, }); }; diff --git a/package.json b/package.json index 56ada9c9afc5..2790d7455dfa 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "scripts": { "build-clean": "rm -rf ./packages/*/build ./packages/*/build-es5", "build": "node ./scripts/build.js", - "clean-all": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules && rm -rf ./integration-tests/*/*/node_modules && yarn build-clean", + "clean-all": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules && rm -rf ./e2e/*/*/node_modules && yarn build-clean", "jest": "node ./packages/jest-cli/bin/jest.js", "jest-coverage": "yarn jest --coverage", "lint": "eslint . --cache --ext js,md", @@ -108,7 +108,7 @@ "packages/.*/build-es5", "packages/jest-runtime/src/__tests__/test_root.*", "website/.*", - "integration-tests/runtime-internal-module-registry/__mocks__" + "e2e/runtime-internal-module-registry/__mocks__" ], "collectCoverageFrom": [ "**/packages/jest-*/**/*.js", @@ -119,7 +119,7 @@ "!**/perf/**", "!**/__mocks__/**", "!**/__tests__/**", - "!integration-tests/**" + "!e2e/**" ], "coverageReporters": [ "json" @@ -139,7 +139,7 @@ "testPathIgnorePatterns": [ "/node_modules/", "/examples/", - "/integration-tests/.*/__tests__", + "/e2e/.*/__tests__", "\\.snap$", "/packages/.*/build", "/packages/.*/build-es5", @@ -155,7 +155,7 @@ "/packages/jest-validate/src/__tests__/fixtures/", "/packages/jest-worker/src/__performance_tests__", "/packages/pretty-format/perf/test.js", - "/integration-tests/__tests__/iterator-to-null-test.js" + "/e2e/__tests__/iterator-to-null-test.js" ] }, "prettier": { diff --git a/packages/jest-config/src/__tests__/resolve_config_path.test.js b/packages/jest-config/src/__tests__/resolve_config_path.test.js index 5eb416b5ac42..e54a32603d60 100644 --- a/packages/jest-config/src/__tests__/resolve_config_path.test.js +++ b/packages/jest-config/src/__tests__/resolve_config_path.test.js @@ -11,7 +11,7 @@ import os from 'os'; import path from 'path'; import resolveConfigPath from '../resolve_config_path'; -const {cleanup, writeFiles} = require('../../../../integration-tests/Utils'); +const {cleanup, writeFiles} = require('../../../../e2e/Utils'); const DIR = path.resolve(os.tmpdir(), 'resolve_config_path_test'); const ERROR_PATTERN = /Could not find a config file based on provided values/; diff --git a/website/versioned_docs/version-22.0/SnapshotTesting.md b/website/versioned_docs/version-22.0/SnapshotTesting.md index 580e40ab9a6f..34ecc3aaad0b 100644 --- a/website/versioned_docs/version-22.0/SnapshotTesting.md +++ b/website/versioned_docs/version-22.0/SnapshotTesting.md @@ -102,7 +102,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReacte.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration_tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReacte.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing? diff --git a/website/versioned_docs/version-22.1/SnapshotTesting.md b/website/versioned_docs/version-22.1/SnapshotTesting.md index 7eb59050bea1..bd0af6d9b976 100644 --- a/website/versioned_docs/version-22.1/SnapshotTesting.md +++ b/website/versioned_docs/version-22.1/SnapshotTesting.md @@ -102,7 +102,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration-tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing? diff --git a/website/versioned_docs/version-22.2/SnapshotTesting.md b/website/versioned_docs/version-22.2/SnapshotTesting.md index b2cfdaf2ad1f..a7f8aa9d572d 100644 --- a/website/versioned_docs/version-22.2/SnapshotTesting.md +++ b/website/versioned_docs/version-22.2/SnapshotTesting.md @@ -102,7 +102,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration-tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing? diff --git a/website/versioned_docs/version-22.3/SnapshotTesting.md b/website/versioned_docs/version-22.3/SnapshotTesting.md index e311a9f49e1e..b7826c1a3162 100644 --- a/website/versioned_docs/version-22.3/SnapshotTesting.md +++ b/website/versioned_docs/version-22.3/SnapshotTesting.md @@ -168,7 +168,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration-tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing? diff --git a/website/versioned_docs/version-23.0/SnapshotTesting.md b/website/versioned_docs/version-23.0/SnapshotTesting.md index a72fc355d13b..da863761ced6 100644 --- a/website/versioned_docs/version-23.0/SnapshotTesting.md +++ b/website/versioned_docs/version-23.0/SnapshotTesting.md @@ -223,7 +223,7 @@ Yes, all snapshot files should be committed alongside the modules they are cover ### Does snapshot testing only work with React components? -[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/integration-tests/__tests__/console.test.js) in the Jest repo. +[React](TutorialReact.md) and [React Native](TutorialReactNative.md) components are a good use case for snapshot testing. However, snapshots can capture any serializable value and should be used anytime the goal is testing whether the output is correct. The Jest repository contains many examples of testing the output of Jest itself, the output of Jest's assertion library as well as log messages from various parts of the Jest codebase. See an example of [snapshotting CLI output](https://github.com/facebook/jest/blob/master/e2e/__tests__/console.test.js) in the Jest repo. ### What's the difference between snapshot testing and visual regression testing?