diff --git a/integration-tests/__tests__/empty-describe-with-hooks.test.js b/e2e/__tests__/empty-describe-with-hooks.test.js similarity index 100% rename from integration-tests/__tests__/empty-describe-with-hooks.test.js rename to e2e/__tests__/empty-describe-with-hooks.test.js diff --git a/integration-tests/empty-describe-with-hooks/__tests__/hook-in-empty-describe.test.js b/e2e/empty-describe-with-hooks/__tests__/hook-in-empty-describe.test.js similarity index 100% rename from integration-tests/empty-describe-with-hooks/__tests__/hook-in-empty-describe.test.js rename to e2e/empty-describe-with-hooks/__tests__/hook-in-empty-describe.test.js diff --git a/integration-tests/empty-describe-with-hooks/__tests__/hook-in-empty-nested-describe.test.js b/e2e/empty-describe-with-hooks/__tests__/hook-in-empty-nested-describe.test.js similarity index 100% rename from integration-tests/empty-describe-with-hooks/__tests__/hook-in-empty-nested-describe.test.js rename to e2e/empty-describe-with-hooks/__tests__/hook-in-empty-nested-describe.test.js diff --git a/integration-tests/empty-describe-with-hooks/__tests__/multiple-hooks-in-empty-describe.test.js b/e2e/empty-describe-with-hooks/__tests__/multiple-hooks-in-empty-describe.test.js similarity index 100% rename from integration-tests/empty-describe-with-hooks/__tests__/multiple-hooks-in-empty-describe.test.js rename to e2e/empty-describe-with-hooks/__tests__/multiple-hooks-in-empty-describe.test.js diff --git a/integration-tests/empty-describe-with-hooks/package.json b/e2e/empty-describe-with-hooks/package.json similarity index 100% rename from integration-tests/empty-describe-with-hooks/package.json rename to e2e/empty-describe-with-hooks/package.json diff --git a/integration-tests/__tests__/__snapshots__/empty-describe-with-hooks.test.js.snap b/integration-tests/__tests__/__snapshots__/empty-describe-with-hooks.test.js.snap deleted file mode 100644 index 500475fed574..000000000000 --- a/integration-tests/__tests__/__snapshots__/empty-describe-with-hooks.test.js.snap +++ /dev/null @@ -1,136 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`hook in empty describe 1`] = ` -Object { - "rest": "FAIL __tests__/hook-in-empty-describe.test.js - - - ● Test suite failed to run - - thrown: \\"Invalid: beforeEach() in a describe block with no tests.\\" - - 7 | - 8 | describe('a block', () => { - > 9 | beforeEach(() => {}); - | ^ - 10 | }); - 11 | - 12 | describe('another block with tests', () => { - - at __tests__/hook-in-empty-describe.test.js:9:3 - at __tests__/hook-in-empty-describe.test.js:8:1 - -", - "summary": "Test Suites: 1 failed, 1 total -Tests: 1 passed, 1 total -Snapshots: 0 total -Time: <> -Ran all test suites matching /hook-in-empty-describe.test.js/i. -", -} -`; - -exports[`hook in empty nested describe 1`] = ` -Object { - "rest": "FAIL __tests__/hook-in-empty-nested-describe.test.js - - - ● Test suite failed to run - - thrown: \\"Invalid: beforeEach() in a describe block with no tests.\\" - - 7 | - 8 | describe('a block', () => { - > 9 | beforeEach(() => {}); - | ^ - 10 | describe('another block', () => {}); - 11 | }); - 12 | - - at __tests__/hook-in-empty-nested-describe.test.js:9:3 - at __tests__/hook-in-empty-nested-describe.test.js:8:1 - -", - "summary": "Test Suites: 1 failed, 1 total -Tests: 1 passed, 1 total -Snapshots: 0 total -Time: <> -Ran all test suites matching /hook-in-empty-nested-describe.test.js/i. -", -} -`; - -exports[`multiple hooks in empty describe 1`] = ` -Object { - "rest": "FAIL __tests__/multiple-hooks-in-empty-describe.test.js - - - ● Test suite failed to run - - thrown: \\"Invalid: beforeEach() in a describe block with no tests.\\" - - 7 | - 8 | describe('a block', () => { - > 9 | beforeEach(() => {}); - | ^ - 10 | afterEach(() => {}); - 11 | afterAll(() => {}); - 12 | beforeAll(() => {}); - - at __tests__/multiple-hooks-in-empty-describe.test.js:9:3 - at __tests__/multiple-hooks-in-empty-describe.test.js:8:1 - - ● Test suite failed to run - - thrown: \\"Invalid: afterEach() in a describe block with no tests.\\" - - 8 | describe('a block', () => { - 9 | beforeEach(() => {}); - > 10 | afterEach(() => {}); - | ^ - 11 | afterAll(() => {}); - 12 | beforeAll(() => {}); - 13 | }); - - at __tests__/multiple-hooks-in-empty-describe.test.js:10:3 - at __tests__/multiple-hooks-in-empty-describe.test.js:8:1 - - ● Test suite failed to run - - thrown: \\"Invalid: afterAll() in a describe block with no tests.\\" - - 9 | beforeEach(() => {}); - 10 | afterEach(() => {}); - > 11 | afterAll(() => {}); - | ^ - 12 | beforeAll(() => {}); - 13 | }); - 14 | - - at __tests__/multiple-hooks-in-empty-describe.test.js:11:3 - at __tests__/multiple-hooks-in-empty-describe.test.js:8:1 - - ● Test suite failed to run - - thrown: \\"Invalid: beforeAll() in a describe block with no tests.\\" - - 10 | afterEach(() => {}); - 11 | afterAll(() => {}); - > 12 | beforeAll(() => {}); - | ^ - 13 | }); - 14 | - 15 | describe('another block with tests', () => { - - at __tests__/multiple-hooks-in-empty-describe.test.js:12:3 - at __tests__/multiple-hooks-in-empty-describe.test.js:8:1 - -", - "summary": "Test Suites: 1 failed, 1 total -Tests: 1 passed, 1 total -Snapshots: 0 total -Time: <> -Ran all test suites matching /multiple-hooks-in-empty-describe.test.js/i. -", -} -`;