diff --git a/e2e/__tests__/__snapshots__/asyncAndCallback.test.ts.snap b/e2e/__tests__/__snapshots__/asyncAndCallback.test.ts.snap index 5fbda79530a2..403e5cfa5b3a 100644 --- a/e2e/__tests__/__snapshots__/asyncAndCallback.test.ts.snap +++ b/e2e/__tests__/__snapshots__/asyncAndCallback.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`errors when a test both returns a promise and takes a callback 1`] = ` "FAIL __tests__/promise-and-callback.test.js diff --git a/e2e/__tests__/__snapshots__/beforeAllFiltered.ts.snap b/e2e/__tests__/__snapshots__/beforeAllFiltered.ts.snap index f77440c7da5c..d4c75a9fd4f0 100644 --- a/e2e/__tests__/__snapshots__/beforeAllFiltered.ts.snap +++ b/e2e/__tests__/__snapshots__/beforeAllFiltered.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Correct BeforeAll run ensures the BeforeAll of ignored suite is not run 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/beforeEachQueue.ts.snap b/e2e/__tests__/__snapshots__/beforeEachQueue.ts.snap index a5efe65c502d..6cf130b84f93 100644 --- a/e2e/__tests__/__snapshots__/beforeEachQueue.ts.snap +++ b/e2e/__tests__/__snapshots__/beforeEachQueue.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Correct beforeEach order ensures the correct order for beforeEach 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/callDoneTwice.test.ts.snap b/e2e/__tests__/__snapshots__/callDoneTwice.test.ts.snap index 1d557cdad0d5..b673d344e771 100644 --- a/e2e/__tests__/__snapshots__/callDoneTwice.test.ts.snap +++ b/e2e/__tests__/__snapshots__/callDoneTwice.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`\`done()\` should not be called more than once 1`] = ` "FAIL __tests__/index.test.js diff --git a/e2e/__tests__/__snapshots__/chaiAssertionLibrary.ts.snap b/e2e/__tests__/__snapshots__/chaiAssertionLibrary.ts.snap index 922938b4a50d..1e917c29b2b9 100644 --- a/e2e/__tests__/__snapshots__/chaiAssertionLibrary.ts.snap +++ b/e2e/__tests__/__snapshots__/chaiAssertionLibrary.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`chai assertion errors should display properly 1`] = ` "FAIL __tests__/chai_assertion.js diff --git a/e2e/__tests__/__snapshots__/circusDeclarationErrors.test.ts.snap b/e2e/__tests__/__snapshots__/circusDeclarationErrors.test.ts.snap index 3ce39baaff64..77999550e6b8 100644 --- a/e2e/__tests__/__snapshots__/circusDeclarationErrors.test.ts.snap +++ b/e2e/__tests__/__snapshots__/circusDeclarationErrors.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`defining tests and hooks asynchronously throws 1`] = ` "FAIL __tests__/asyncDefinition.test.js diff --git a/e2e/__tests__/__snapshots__/cliHandlesExactFilenames.test.ts.snap b/e2e/__tests__/__snapshots__/cliHandlesExactFilenames.test.ts.snap index e8c3c1073714..6212c35215a6 100644 --- a/e2e/__tests__/__snapshots__/cliHandlesExactFilenames.test.ts.snap +++ b/e2e/__tests__/__snapshots__/cliHandlesExactFilenames.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`CLI accepts exact file names if matchers matched 1`] = ` "PASS foo/bar.spec.js diff --git a/e2e/__tests__/__snapshots__/complexItemsInErrors.ts.snap b/e2e/__tests__/__snapshots__/complexItemsInErrors.ts.snap index db90029c1566..97da59ecbaa4 100644 --- a/e2e/__tests__/__snapshots__/complexItemsInErrors.ts.snap +++ b/e2e/__tests__/__snapshots__/complexItemsInErrors.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`handles errors with BigInt 1`] = ` "FAIL __tests__/test-1.js diff --git a/e2e/__tests__/__snapshots__/console.test.ts.snap b/e2e/__tests__/__snapshots__/console.test.ts.snap index 6edabd732112..7ba6ff05ac54 100644 --- a/e2e/__tests__/__snapshots__/console.test.ts.snap +++ b/e2e/__tests__/__snapshots__/console.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`console printing 1`] = ` "PASS __tests__/console.test.js diff --git a/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap b/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap index 5d9410e9a079..3714bb75ee2b 100644 --- a/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap +++ b/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`console printing 1`] = ` "PASS __tests__/console.test.js diff --git a/e2e/__tests__/__snapshots__/consoleDebugging.test.ts.snap b/e2e/__tests__/__snapshots__/consoleDebugging.test.ts.snap index 4bc14067c0cf..819118c9263f 100644 --- a/e2e/__tests__/__snapshots__/consoleDebugging.test.ts.snap +++ b/e2e/__tests__/__snapshots__/consoleDebugging.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`console debugging with --verbose 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/consoleLogOutputWhenRunInBand.test.ts.snap b/e2e/__tests__/__snapshots__/consoleLogOutputWhenRunInBand.test.ts.snap index 7afe4b918b81..1266851862ef 100644 --- a/e2e/__tests__/__snapshots__/consoleLogOutputWhenRunInBand.test.ts.snap +++ b/e2e/__tests__/__snapshots__/consoleLogOutputWhenRunInBand.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints console.logs when run with forceExit 1`] = ` "PASS __tests__/a-banana.js diff --git a/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap b/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap index 814564d2be93..41d57da1cb65 100644 --- a/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageHandlebars.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`code coverage for Handlebars 1`] = ` "-----------|---------|----------|---------|---------|------------------- diff --git a/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap b/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap index 102d755384bb..fe85c40338f5 100644 --- a/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageProviderV8.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints correct coverage report, if a CJS module is put under test without transformation 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/coverageRemapping.test.ts.snap b/e2e/__tests__/__snapshots__/coverageRemapping.test.ts.snap index 39c4e0d77971..e96546870064 100644 --- a/e2e/__tests__/__snapshots__/coverageRemapping.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageRemapping.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`maps code coverage against original source 1`] = ` Object { diff --git a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap index bf48e0520423..c37043ff20e4 100644 --- a/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageReport.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`collects coverage from duplicate files avoiding shared cache 1`] = ` "---------------|---------|----------|---------|---------|------------------- diff --git a/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap b/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap index 0fe03e7e827b..2f3a61c0ff10 100644 --- a/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageThreshold.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`excludes tests matched by path threshold groups from global group 1`] = ` "PASS __tests__/banana.test.js diff --git a/e2e/__tests__/__snapshots__/coverageTransformInstrumented.test.ts.snap b/e2e/__tests__/__snapshots__/coverageTransformInstrumented.test.ts.snap index 9d747b4cb89d..ea0e9d5dab0e 100644 --- a/e2e/__tests__/__snapshots__/coverageTransformInstrumented.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageTransformInstrumented.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`code coverage for transform instrumented code 1`] = ` Object { diff --git a/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap b/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap index 3c71d5f02fe0..16fdf0526802 100644 --- a/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap +++ b/e2e/__tests__/__snapshots__/coverageWithoutTransform.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`produces code coverage for uncovered files without transformer 1`] = ` "---------------------|---------|----------|---------|---------|------------------- diff --git a/e2e/__tests__/__snapshots__/customInlineSnapshotMatchers.test.ts.snap b/e2e/__tests__/__snapshots__/customInlineSnapshotMatchers.test.ts.snap index 42e0de014d00..66bee9b291c7 100644 --- a/e2e/__tests__/__snapshots__/customInlineSnapshotMatchers.test.ts.snap +++ b/e2e/__tests__/__snapshots__/customInlineSnapshotMatchers.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can bail with a custom inline snapshot matcher 1`] = ` "FAIL __tests__/bail.test.js diff --git a/e2e/__tests__/__snapshots__/customMatcherStackTrace.test.ts.snap b/e2e/__tests__/__snapshots__/customMatcherStackTrace.test.ts.snap index 327c560a69e5..49f46c7ad3fa 100644 --- a/e2e/__tests__/__snapshots__/customMatcherStackTrace.test.ts.snap +++ b/e2e/__tests__/__snapshots__/customMatcherStackTrace.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`custom async matchers 1`] = ` "FAIL __tests__/asynchronous.test.js diff --git a/e2e/__tests__/__snapshots__/customReporters.test.ts.snap b/e2e/__tests__/__snapshots__/customReporters.test.ts.snap index d3fa7a739372..9ad5e7b11455 100644 --- a/e2e/__tests__/__snapshots__/customReporters.test.ts.snap +++ b/e2e/__tests__/__snapshots__/customReporters.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Custom Reporters Integration IncompleteReporter for flexibility 1`] = ` "onRunComplete is called diff --git a/e2e/__tests__/__snapshots__/customReportersOnCircus.test.ts.snap b/e2e/__tests__/__snapshots__/customReportersOnCircus.test.ts.snap index 6403c2c464f4..72de54fea5a9 100644 --- a/e2e/__tests__/__snapshots__/customReportersOnCircus.test.ts.snap +++ b/e2e/__tests__/__snapshots__/customReportersOnCircus.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Custom Reporters Integration on jest-circus valid failing assertion counts for adding reporters 1`] = ` "onTestCaseResult: adds fail, started: today, status: failed, numExpectations: 0 diff --git a/e2e/__tests__/__snapshots__/declarationErrors.test.ts.snap b/e2e/__tests__/__snapshots__/declarationErrors.test.ts.snap index 3990f96002bf..ab3c3c1f8da6 100644 --- a/e2e/__tests__/__snapshots__/declarationErrors.test.ts.snap +++ b/e2e/__tests__/__snapshots__/declarationErrors.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`errors if describe returns a Promise 1`] = ` " Returning a Promise from "describe" is not supported. Tests must be defined synchronously. diff --git a/e2e/__tests__/__snapshots__/detectOpenHandles.ts.snap b/e2e/__tests__/__snapshots__/detectOpenHandles.ts.snap index 67fed22a3f21..25071eeff847 100644 --- a/e2e/__tests__/__snapshots__/detectOpenHandles.ts.snap +++ b/e2e/__tests__/__snapshots__/detectOpenHandles.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`does not print info about open handlers for a server that is already closed 1`] = `""`; diff --git a/e2e/__tests__/__snapshots__/domDiffing.test.ts.snap b/e2e/__tests__/__snapshots__/domDiffing.test.ts.snap index 54ed6f57b73a..3760e74de2bf 100644 --- a/e2e/__tests__/__snapshots__/domDiffing.test.ts.snap +++ b/e2e/__tests__/__snapshots__/domDiffing.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`should work without error 1`] = ` "FAIL __tests__/dom.test.js diff --git a/e2e/__tests__/__snapshots__/each.test.ts.snap b/e2e/__tests__/__snapshots__/each.test.ts.snap index 56115c4e7fd9..97173b230940 100644 --- a/e2e/__tests__/__snapshots__/each.test.ts.snap +++ b/e2e/__tests__/__snapshots__/each.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`allows nullable or undefined args when templating object each args 1`] = ` "PASS __tests__/eachTemplate.test.js diff --git a/e2e/__tests__/__snapshots__/emptyDescribeWithHooks.test.ts.snap b/e2e/__tests__/__snapshots__/emptyDescribeWithHooks.test.ts.snap index 71a0140e2a86..ec2bb26eb033 100644 --- a/e2e/__tests__/__snapshots__/emptyDescribeWithHooks.test.ts.snap +++ b/e2e/__tests__/__snapshots__/emptyDescribeWithHooks.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`hook in describe with skipped test 1`] = ` Object { diff --git a/e2e/__tests__/__snapshots__/environmentAfterTeardown.test.ts.snap b/e2e/__tests__/__snapshots__/environmentAfterTeardown.test.ts.snap index fe7a08d98855..18a7905decfd 100644 --- a/e2e/__tests__/__snapshots__/environmentAfterTeardown.test.ts.snap +++ b/e2e/__tests__/__snapshots__/environmentAfterTeardown.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints useful error for environment methods after test is done w/ \`waitNextEventLoopTurnForUnhandledRejectionEvents\` 1`] = ` " ReferenceError: You are trying to access a property or method of the Jest environment outside of the scope of the test code. diff --git a/e2e/__tests__/__snapshots__/environmentAfterTeardownJasmine.test.ts.snap b/e2e/__tests__/__snapshots__/environmentAfterTeardownJasmine.test.ts.snap index 0a81f1daa50f..86be8f535765 100644 --- a/e2e/__tests__/__snapshots__/environmentAfterTeardownJasmine.test.ts.snap +++ b/e2e/__tests__/__snapshots__/environmentAfterTeardownJasmine.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints useful error for environment methods after test is done 1`] = ` "ReferenceError: You are trying to access a property or method of the Jest environment after it has been torn down. From __tests__/afterTeardown.test.js. diff --git a/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap b/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap index 7164d4bef7ab..a06276cbb07e 100644 --- a/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap +++ b/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`defaultTimeoutInterval.test.js errors in errorOnDeprecated mode 1`] = ` "FAIL __tests__/defaultTimeoutInterval.test.js diff --git a/e2e/__tests__/__snapshots__/executeTestsOnceInMpr.ts.snap b/e2e/__tests__/__snapshots__/executeTestsOnceInMpr.ts.snap index 68cf94c67c7c..218171e54455 100644 --- a/e2e/__tests__/__snapshots__/executeTestsOnceInMpr.ts.snap +++ b/e2e/__tests__/__snapshots__/executeTestsOnceInMpr.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Tests are executed only once even in an MPR 1`] = ` "PASS foo/folder/my-test-bar.js diff --git a/e2e/__tests__/__snapshots__/expectAsyncMatcher.test.ts.snap b/e2e/__tests__/__snapshots__/expectAsyncMatcher.test.ts.snap index fbafcfaa2d73..41b42c8f12cb 100644 --- a/e2e/__tests__/__snapshots__/expectAsyncMatcher.test.ts.snap +++ b/e2e/__tests__/__snapshots__/expectAsyncMatcher.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`shows the correct errors in stderr when failing tests 1`] = ` "FAIL __tests__/failure.test.js diff --git a/e2e/__tests__/__snapshots__/failures.test.ts.snap b/e2e/__tests__/__snapshots__/failures.test.ts.snap index 6a4857e80dcb..ab34c6010b47 100644 --- a/e2e/__tests__/__snapshots__/failures.test.ts.snap +++ b/e2e/__tests__/__snapshots__/failures.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`not throwing Error objects 1`] = ` "FAIL __tests__/throwNumber.test.js diff --git a/e2e/__tests__/__snapshots__/findRelatedFiles.test.ts.snap b/e2e/__tests__/__snapshots__/findRelatedFiles.test.ts.snap index 7c1eb192a715..25a01e3598ea 100644 --- a/e2e/__tests__/__snapshots__/findRelatedFiles.test.ts.snap +++ b/e2e/__tests__/__snapshots__/findRelatedFiles.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`--findRelatedTests flag coverage configuration is applied correctly 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/globals.test.ts.snap b/e2e/__tests__/__snapshots__/globals.test.ts.snap index ce1c4359a507..6f82b00f80ef 100644 --- a/e2e/__tests__/__snapshots__/globals.test.ts.snap +++ b/e2e/__tests__/__snapshots__/globals.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`basic test constructs 1`] = ` "PASS __tests__/basic.testConstructs.test.js diff --git a/e2e/__tests__/__snapshots__/injectGlobals.test.ts.snap b/e2e/__tests__/__snapshots__/injectGlobals.test.ts.snap index 74c718ed91b9..82a94512928d 100644 --- a/e2e/__tests__/__snapshots__/injectGlobals.test.ts.snap +++ b/e2e/__tests__/__snapshots__/injectGlobals.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`globals are undefined if passed \`false\` from CLI 1`] = ` "PASS __tests__/test.js diff --git a/e2e/__tests__/__snapshots__/isolateModulesAsync.test.ts.snap b/e2e/__tests__/__snapshots__/isolateModulesAsync.test.ts.snap index c1577869b112..954d88520f60 100644 --- a/e2e/__tests__/__snapshots__/isolateModulesAsync.test.ts.snap +++ b/e2e/__tests__/__snapshots__/isolateModulesAsync.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`runs test with isolate modules async import 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/jest.config.js.test.ts.snap b/e2e/__tests__/__snapshots__/jest.config.js.test.ts.snap index 45f2b0bcb85b..b6a1c3e414fa 100644 --- a/e2e/__tests__/__snapshots__/jest.config.js.test.ts.snap +++ b/e2e/__tests__/__snapshots__/jest.config.js.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`traverses directory tree up until it finds jest.config 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/jest.config.ts.test.ts.snap b/e2e/__tests__/__snapshots__/jest.config.ts.test.ts.snap index 7ecbcfe06551..568e2f189351 100644 --- a/e2e/__tests__/__snapshots__/jest.config.ts.test.ts.snap +++ b/e2e/__tests__/__snapshots__/jest.config.ts.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`traverses directory tree up until it finds jest.config 1`] = ` " console.log diff --git a/e2e/__tests__/__snapshots__/listTests.test.ts.snap b/e2e/__tests__/__snapshots__/listTests.test.ts.snap index 1440d531b30a..d2c0208fc74e 100644 --- a/e2e/__tests__/__snapshots__/listTests.test.ts.snap +++ b/e2e/__tests__/__snapshots__/listTests.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`--listTests flag --outputFile flag causes tests to be saved in the file as JSON 1`] = `"["/MOCK_ABSOLUTE_PATH/e2e/list-tests/__tests__/dummy.test.js","/MOCK_ABSOLUTE_PATH/e2e/list-tests/__tests__/other.test.js"]"`; diff --git a/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap b/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap index 19bec39f956a..2d3e0e835db6 100644 --- a/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap +++ b/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`moduleNameMapper correct configuration 1`] = ` "PASS __tests__/index.js diff --git a/e2e/__tests__/__snapshots__/multiProjectRunner.test.ts.snap b/e2e/__tests__/__snapshots__/multiProjectRunner.test.ts.snap index bf72a9f9bf37..257e84507cb5 100644 --- a/e2e/__tests__/__snapshots__/multiProjectRunner.test.ts.snap +++ b/e2e/__tests__/__snapshots__/multiProjectRunner.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can pass projects or global config 1`] = ` "Test Suites: 3 failed, 3 total diff --git a/e2e/__tests__/__snapshots__/multipleConfigs.ts.snap b/e2e/__tests__/__snapshots__/multipleConfigs.ts.snap index c58bb848c34e..d9aae3c1a5c4 100644 --- a/e2e/__tests__/__snapshots__/multipleConfigs.ts.snap +++ b/e2e/__tests__/__snapshots__/multipleConfigs.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`multiple configs will throw error 1`] = ` "● Multiple configurations found: diff --git a/e2e/__tests__/__snapshots__/nativeEsm.test.ts.snap b/e2e/__tests__/__snapshots__/nativeEsm.test.ts.snap index 5563cfa884f2..87849ee81861 100644 --- a/e2e/__tests__/__snapshots__/nativeEsm.test.ts.snap +++ b/e2e/__tests__/__snapshots__/nativeEsm.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`does not enforce import assertions 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/nestedTestDefinitions.test.ts.snap b/e2e/__tests__/__snapshots__/nestedTestDefinitions.test.ts.snap index ff7bf18f7d70..694678091097 100644 --- a/e2e/__tests__/__snapshots__/nestedTestDefinitions.test.ts.snap +++ b/e2e/__tests__/__snapshots__/nestedTestDefinitions.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`print correct error message with nested test definitions inside describe 1`] = ` "FAIL __tests__/nestedTestWithinDescribe.js diff --git a/e2e/__tests__/__snapshots__/nonSerializableStructuresInequality.test.ts.snap b/e2e/__tests__/__snapshots__/nonSerializableStructuresInequality.test.ts.snap index d97e76639cc3..fc3f69f1a262 100644 --- a/e2e/__tests__/__snapshots__/nonSerializableStructuresInequality.test.ts.snap +++ b/e2e/__tests__/__snapshots__/nonSerializableStructuresInequality.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`processChild handles \`BigInt\` 1`] = ` "FAIL __tests__/test-1.js diff --git a/e2e/__tests__/__snapshots__/processExit.test.ts.snap b/e2e/__tests__/__snapshots__/processExit.test.ts.snap index dabf5f003914..9ba526597d04 100644 --- a/e2e/__tests__/__snapshots__/processExit.test.ts.snap +++ b/e2e/__tests__/__snapshots__/processExit.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints stack trace pointing to process.exit call 1`] = ` " ● process.exit called with "1" diff --git a/e2e/__tests__/__snapshots__/promiseAsyncHandling.test.ts.snap b/e2e/__tests__/__snapshots__/promiseAsyncHandling.test.ts.snap index 1ff8ca9e0dba..cd071c75ad74 100644 --- a/e2e/__tests__/__snapshots__/promiseAsyncHandling.test.ts.snap +++ b/e2e/__tests__/__snapshots__/promiseAsyncHandling.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`fails because of unhandled promise rejection in afterAll hook 1`] = ` Object { diff --git a/e2e/__tests__/__snapshots__/randomize.test.ts.snap b/e2e/__tests__/__snapshots__/randomize.test.ts.snap index 7b9e9f889c89..5140013caee8 100644 --- a/e2e/__tests__/__snapshots__/randomize.test.ts.snap +++ b/e2e/__tests__/__snapshots__/randomize.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`works with each 1`] = ` " ✓ test1 diff --git a/e2e/__tests__/__snapshots__/requireAfterTeardown.test.ts.snap b/e2e/__tests__/__snapshots__/requireAfterTeardown.test.ts.snap index d15deff33f65..b5e5289b37d2 100644 --- a/e2e/__tests__/__snapshots__/requireAfterTeardown.test.ts.snap +++ b/e2e/__tests__/__snapshots__/requireAfterTeardown.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints useful error for requires after test is done w/ \`waitNextEventLoopTurnForUnhandledRejectionEvents\` 1`] = ` " ReferenceError: You are trying to \`import\` a file outside of the scope of the test code. diff --git a/e2e/__tests__/__snapshots__/requireAfterTeardownJasmine.test.ts.snap b/e2e/__tests__/__snapshots__/requireAfterTeardownJasmine.test.ts.snap index 89e353825249..c8f75429eba1 100644 --- a/e2e/__tests__/__snapshots__/requireAfterTeardownJasmine.test.ts.snap +++ b/e2e/__tests__/__snapshots__/requireAfterTeardownJasmine.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints useful error for requires after test is done 1`] = ` "ReferenceError: You are trying to \`import\` a file after the Jest environment has been torn down. From __tests__/lateRequire.test.js. diff --git a/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap b/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap index 12ed22b1f0bc..75ca2bf8a50a 100644 --- a/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap +++ b/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`shows a proper error from deep requires 1`] = ` "FAIL __tests__/test.js diff --git a/e2e/__tests__/__snapshots__/resolveAsync.test.ts.snap b/e2e/__tests__/__snapshots__/resolveAsync.test.ts.snap index edfad21176f6..7c7a4bcab37f 100644 --- a/e2e/__tests__/__snapshots__/resolveAsync.test.ts.snap +++ b/e2e/__tests__/__snapshots__/resolveAsync.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`runs test with native ESM 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap b/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap index 959ff25f3038..0f4539d74f4b 100644 --- a/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap +++ b/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`show error message when no js moduleFileExtensions 1`] = ` "● Validation Error: diff --git a/e2e/__tests__/__snapshots__/runProgrammaticallyMultipleProjects.test.ts.snap b/e2e/__tests__/__snapshots__/runProgrammaticallyMultipleProjects.test.ts.snap index 9ffad72f23c0..77a975c8ef18 100644 --- a/e2e/__tests__/__snapshots__/runProgrammaticallyMultipleProjects.test.ts.snap +++ b/e2e/__tests__/__snapshots__/runProgrammaticallyMultipleProjects.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`run programmatically with multiple projects: summary 1`] = ` "Test Suites: 2 passed, 2 total diff --git a/e2e/__tests__/__snapshots__/showConfig.test.ts.snap b/e2e/__tests__/__snapshots__/showConfig.test.ts.snap index b28bc91cfb4a..3fbdc3a193d7 100644 --- a/e2e/__tests__/__snapshots__/showConfig.test.ts.snap +++ b/e2e/__tests__/__snapshots__/showConfig.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`--showConfig outputs config info and exits 1`] = ` "{ diff --git a/e2e/__tests__/__snapshots__/snapshot.test.ts.snap b/e2e/__tests__/__snapshots__/snapshot.test.ts.snap index e6d85efff184..51ee87017a52 100644 --- a/e2e/__tests__/__snapshots__/snapshot.test.ts.snap +++ b/e2e/__tests__/__snapshots__/snapshot.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Snapshot Validation deletes a snapshot when a test does removes all the snapshots 1`] = ` "Test Suites: 3 passed, 3 total diff --git a/e2e/__tests__/__snapshots__/snapshotMockFs.test.ts.snap b/e2e/__tests__/__snapshots__/snapshotMockFs.test.ts.snap index 0b187ca45889..87ca676ac4a1 100644 --- a/e2e/__tests__/__snapshots__/snapshotMockFs.test.ts.snap +++ b/e2e/__tests__/__snapshots__/snapshotMockFs.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`store snapshot even if fs is mocked 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/snapshotSerializers.test.ts.snap b/e2e/__tests__/__snapshots__/snapshotSerializers.test.ts.snap index 5b7debfa1087..1f5d815cb063 100644 --- a/e2e/__tests__/__snapshots__/snapshotSerializers.test.ts.snap +++ b/e2e/__tests__/__snapshots__/snapshotSerializers.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Snapshot serializers renders snapshot 1`] = ` Object { diff --git a/e2e/__tests__/__snapshots__/stackTrace.test.ts.snap b/e2e/__tests__/__snapshots__/stackTrace.test.ts.snap index ecc0b1cbf61c..290b1855493d 100644 --- a/e2e/__tests__/__snapshots__/stackTrace.test.ts.snap +++ b/e2e/__tests__/__snapshots__/stackTrace.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Stack Trace does not print a stack trace for errors when --noStackTrace is given 1`] = ` "Test Suites: 1 failed, 1 total diff --git a/e2e/__tests__/__snapshots__/stackTraceSourceMapsWithCoverage.test.ts.snap b/e2e/__tests__/__snapshots__/stackTraceSourceMapsWithCoverage.test.ts.snap index ced47e9dad26..f749a35b1acb 100644 --- a/e2e/__tests__/__snapshots__/stackTraceSourceMapsWithCoverage.test.ts.snap +++ b/e2e/__tests__/__snapshots__/stackTraceSourceMapsWithCoverage.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`processes stack traces and code frames with source maps with coverage 1`] = ` "FAIL __tests__/fails.ts diff --git a/e2e/__tests__/__snapshots__/testEnvironmentRunScript.test.ts.snap b/e2e/__tests__/__snapshots__/testEnvironmentRunScript.test.ts.snap index f8ffc93cbaa8..6e09d28b774a 100644 --- a/e2e/__tests__/__snapshots__/testEnvironmentRunScript.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testEnvironmentRunScript.test.ts.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`throw error if test env does not have getVmContext 1`] = `"Test environment found at "/EnvUsingRunScript.js" does not export a "getVmContext" method, which is mandatory from Jest 27. This method is a replacement for "runScript"."`; diff --git a/e2e/__tests__/__snapshots__/testFailing.test.ts.snap b/e2e/__tests__/__snapshots__/testFailing.test.ts.snap index 899e759572c4..0ffa2ddb49f6 100644 --- a/e2e/__tests__/__snapshots__/testFailing.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testFailing.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`works with all statuses 1`] = ` "FAIL __tests__/statuses.test.js diff --git a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap index bddc0de89505..50eadbbc970c 100644 --- a/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`throws an error about unsupported modifier 1`] = ` "FAIL __tests__/statuses.test.js diff --git a/e2e/__tests__/__snapshots__/testFailingSnapshot.test.js.snap b/e2e/__tests__/__snapshots__/testFailingSnapshot.test.js.snap index bb6e51f728da..1c77ccbaf44a 100644 --- a/e2e/__tests__/__snapshots__/testFailingSnapshot.test.js.snap +++ b/e2e/__tests__/__snapshots__/testFailingSnapshot.test.js.snap @@ -1,7 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`test.failing doesnt update or remove snapshots 1`] = ` -"// Jest Snapshot v1, https://goo.gl/fbAQLP +"// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[\`snapshots not updated nor removed 1\`] = \`"1"\`; diff --git a/e2e/__tests__/__snapshots__/testMatch.test.ts.snap b/e2e/__tests__/__snapshots__/testMatch.test.ts.snap index ed8312fe8a59..0cefe7e2d9e2 100644 --- a/e2e/__tests__/__snapshots__/testMatch.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testMatch.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`testMatch should able to match file with cjs and mjs extension 1`] = ` "Test Suites: 2 passed, 2 total diff --git a/e2e/__tests__/__snapshots__/testMatchDefault.test.ts.snap b/e2e/__tests__/__snapshots__/testMatchDefault.test.ts.snap index 85aafe3318c3..0d44b0badd34 100644 --- a/e2e/__tests__/__snapshots__/testMatchDefault.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testMatchDefault.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`testMatch should able to match file with \`?([mc])[jt]s?(x)\` by default 1`] = ` "Test Suites: 16 passed, 16 total diff --git a/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap b/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap index 9af319324f07..69fd78ea13a8 100644 --- a/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`testMatch should able to match file with cts and mts extension 1`] = ` "Test Suites: 2 passed, 2 total diff --git a/e2e/__tests__/__snapshots__/testNamePattern.test.ts.snap b/e2e/__tests__/__snapshots__/testNamePattern.test.ts.snap index 9c72df9c12dd..b09b5976997d 100644 --- a/e2e/__tests__/__snapshots__/testNamePattern.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testNamePattern.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`testNamePattern 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/testNamePatternSkipped.test.ts.snap b/e2e/__tests__/__snapshots__/testNamePatternSkipped.test.ts.snap index fb6226de5485..d7591b887633 100644 --- a/e2e/__tests__/__snapshots__/testNamePatternSkipped.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testNamePatternSkipped.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`testNamePattern skipped 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/testRetries.test.ts.snap b/e2e/__tests__/__snapshots__/testRetries.test.ts.snap index ff71c0d297a7..dc593c358395 100644 --- a/e2e/__tests__/__snapshots__/testRetries.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testRetries.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Test Retries logs error(s) before retry 1`] = ` "LOGGING RETRY ERRORS retryTimes set diff --git a/e2e/__tests__/__snapshots__/testTodo.test.ts.snap b/e2e/__tests__/__snapshots__/testTodo.test.ts.snap index 3f5f1d950276..04756f5d97f9 100644 --- a/e2e/__tests__/__snapshots__/testTodo.test.ts.snap +++ b/e2e/__tests__/__snapshots__/testTodo.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`counts todo tests when inside of a \`describe.only\` 1`] = ` "PASS __tests__/only-todo.test.js diff --git a/e2e/__tests__/__snapshots__/timeouts.test.ts.snap b/e2e/__tests__/__snapshots__/timeouts.test.ts.snap index b68b979b731b..78f6eb0e2a7f 100644 --- a/e2e/__tests__/__snapshots__/timeouts.test.ts.snap +++ b/e2e/__tests__/__snapshots__/timeouts.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`does not exceed the command line testTimeout 1`] = ` "PASS __tests__/a-banana.js diff --git a/e2e/__tests__/__snapshots__/timeoutsLegacy.test.ts.snap b/e2e/__tests__/__snapshots__/timeoutsLegacy.test.ts.snap index 1f76f9f4b47f..b3ccb8347b93 100644 --- a/e2e/__tests__/__snapshots__/timeoutsLegacy.test.ts.snap +++ b/e2e/__tests__/__snapshots__/timeoutsLegacy.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can read and write jasmine.DEFAULT_TIMEOUT_INTERVAL 1`] = ` "Test Suites: 1 passed, 1 total diff --git a/e2e/__tests__/__snapshots__/toMatchInlineSnapshot.test.ts.snap b/e2e/__tests__/__snapshots__/toMatchInlineSnapshot.test.ts.snap index f573e3168a2e..f59795c07b66 100644 --- a/e2e/__tests__/__snapshots__/toMatchInlineSnapshot.test.ts.snap +++ b/e2e/__tests__/__snapshots__/toMatchInlineSnapshot.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`basic support: initial write 1`] = ` "test('inline snapshots', () => diff --git a/e2e/__tests__/__snapshots__/toThrowErrorMatchingInlineSnapshot.test.ts.snap b/e2e/__tests__/__snapshots__/toThrowErrorMatchingInlineSnapshot.test.ts.snap index 7a21b7968e93..4baa4619f250 100644 --- a/e2e/__tests__/__snapshots__/toThrowErrorMatchingInlineSnapshot.test.ts.snap +++ b/e2e/__tests__/__snapshots__/toThrowErrorMatchingInlineSnapshot.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`should support rejecting promises 1`] = ` "test('should support rejecting promises', async () => { diff --git a/e2e/__tests__/__snapshots__/toThrowErrorMatchingSnapshot.test.ts.snap b/e2e/__tests__/__snapshots__/toThrowErrorMatchingSnapshot.test.ts.snap index 64d6ace559bd..463c2c520b10 100644 --- a/e2e/__tests__/__snapshots__/toThrowErrorMatchingSnapshot.test.ts.snap +++ b/e2e/__tests__/__snapshots__/toThrowErrorMatchingSnapshot.test.ts.snap @@ -1,7 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`should support rejecting promises 1`] = ` -"// Jest Snapshot v1, https://goo.gl/fbAQLP +"// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[\`should support rejecting promises 1\`] = \`"octopus"\`; " diff --git a/e2e/__tests__/__snapshots__/transform.test.ts.snap b/e2e/__tests__/__snapshots__/transform.test.ts.snap index c4af677ae559..30bda1cd6b31 100644 --- a/e2e/__tests__/__snapshots__/transform.test.ts.snap +++ b/e2e/__tests__/__snapshots__/transform.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`babel-jest ignored tells user to match ignored files 1`] = ` "FAIL __tests__/ignoredFile.test.js diff --git a/e2e/__tests__/__snapshots__/typescriptCoverage.test.ts.snap b/e2e/__tests__/__snapshots__/typescriptCoverage.test.ts.snap index 4af96ddc8ee1..15190a107050 100644 --- a/e2e/__tests__/__snapshots__/typescriptCoverage.test.ts.snap +++ b/e2e/__tests__/__snapshots__/typescriptCoverage.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`instruments and collects coverage for typescript files 1`] = ` "------------|---------|----------|---------|---------|------------------- diff --git a/e2e/__tests__/__snapshots__/watchModeOnlyFailed.test.ts.snap b/e2e/__tests__/__snapshots__/watchModeOnlyFailed.test.ts.snap index 1eb721361319..37b622ea2b91 100644 --- a/e2e/__tests__/__snapshots__/watchModeOnlyFailed.test.ts.snap +++ b/e2e/__tests__/__snapshots__/watchModeOnlyFailed.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can press "f" to run only failed tests: test results 1`] = ` "FAIL __tests__/bar.spec.js diff --git a/e2e/__tests__/__snapshots__/watchModePatterns.test.ts.snap b/e2e/__tests__/__snapshots__/watchModePatterns.test.ts.snap index 185caf8c8f20..4cb831f80775 100644 --- a/e2e/__tests__/__snapshots__/watchModePatterns.test.ts.snap +++ b/e2e/__tests__/__snapshots__/watchModePatterns.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can press "p" to filter by file name 1`] = ` " diff --git a/e2e/__tests__/__snapshots__/watchModeUpdateSnapshot.test.ts.snap b/e2e/__tests__/__snapshots__/watchModeUpdateSnapshot.test.ts.snap index f13279f7e2b1..6fc02bfccbbc 100644 --- a/e2e/__tests__/__snapshots__/watchModeUpdateSnapshot.test.ts.snap +++ b/e2e/__tests__/__snapshots__/watchModeUpdateSnapshot.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`can press "u" to update snapshots: test results 1`] = ` "FAIL __tests__/bar.spec.js diff --git a/e2e/__tests__/__snapshots__/workerRestartBeforeSend.test.ts.snap b/e2e/__tests__/__snapshots__/workerRestartBeforeSend.test.ts.snap index 33a283aa2937..970dfa9e794b 100644 --- a/e2e/__tests__/__snapshots__/workerRestartBeforeSend.test.ts.snap +++ b/e2e/__tests__/__snapshots__/workerRestartBeforeSend.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`all 3 test files should complete 1`] = ` "Test Suites: 1 failed, 2 passed, 3 total diff --git a/e2e/__tests__/__snapshots__/workerRestarting.test.ts.snap b/e2e/__tests__/__snapshots__/workerRestarting.test.ts.snap index edf50a0f2d69..856669a90be7 100644 --- a/e2e/__tests__/__snapshots__/workerRestarting.test.ts.snap +++ b/e2e/__tests__/__snapshots__/workerRestarting.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`all 3 test files should complete 1`] = ` "Test Suites: 3 passed, 3 total diff --git a/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap b/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap index 04ec0a8ad507..3a9a7b6e7415 100644 --- a/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap +++ b/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Wrong globals for environment on node <=18 print useful error for navigator 1`] = ` "FAIL __tests__/node.js diff --git a/e2e/__tests__/watchModeUpdateSnapshot.test.ts b/e2e/__tests__/watchModeUpdateSnapshot.test.ts index 403d7a2aab6b..0751aa9f3a6f 100644 --- a/e2e/__tests__/watchModeUpdateSnapshot.test.ts +++ b/e2e/__tests__/watchModeUpdateSnapshot.test.ts @@ -23,7 +23,7 @@ expect.addSnapshotSerializer({ const setupFiles = (input: Array<{keys: Array}>) => { writeFiles(DIR, { - '__tests__/__snapshots__/bar.spec.js.snap': `// Jest Snapshot v1, https://goo.gl/fbAQLP + '__tests__/__snapshots__/bar.spec.js.snap': `// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[\`bar 1\`] = \`"foo"\`; `, diff --git a/e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap index 12f05e6754cb..d0b975a15fd5 100644 --- a/e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap +++ b/e2e/failures/__tests__/__snapshots__/snapshot.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`failing snapshot 1`] = `"bar"`; diff --git a/e2e/failures/__tests__/__snapshots__/snapshotWithHint.test.js.snap b/e2e/failures/__tests__/__snapshots__/snapshotWithHint.test.js.snap index 1d2712c8f4af..4500b9f9f862 100644 --- a/e2e/failures/__tests__/__snapshots__/snapshotWithHint.test.js.snap +++ b/e2e/failures/__tests__/__snapshots__/snapshotWithHint.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`failing snapshot with hint: descriptive hint 1`] = `"bar"`; diff --git a/e2e/randomize/__tests__/__snapshots__/snapshots.test.js.snap b/e2e/randomize/__tests__/__snapshots__/snapshots.test.js.snap index 8fb29cd59a98..6075322c15d0 100644 --- a/e2e/randomize/__tests__/__snapshots__/snapshots.test.js.snap +++ b/e2e/randomize/__tests__/__snapshots__/snapshots.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`describe1 test4 1`] = `4`; diff --git a/e2e/snapshot-concurrent/__tests__/__snapshots__/works.test.js.snap b/e2e/snapshot-concurrent/__tests__/__snapshots__/works.test.js.snap index 9564f5b6664f..7709814ece5a 100644 --- a/e2e/snapshot-concurrent/__tests__/__snapshots__/works.test.js.snap +++ b/e2e/snapshot-concurrent/__tests__/__snapshots__/works.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`A a 1`] = `"Aa1"`; diff --git a/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap index a6620ddfb9a7..ec1f8c783c75 100644 --- a/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap +++ b/e2e/snapshot-formatting-changes/__tests__/__snapshots__/snapshot.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshot serializer uses 8 chars for indent, and shows no prototypes for object and array in a snapshot: no prototypes 1`] = ` { diff --git a/e2e/snapshot-unknown/__tests__/__snapshots__/fails.test.js.snap b/e2e/snapshot-unknown/__tests__/__snapshots__/fails.test.js.snap index 2c4c1a181285..19883bd126e7 100644 --- a/e2e/snapshot-unknown/__tests__/__snapshots__/fails.test.js.snap +++ b/e2e/snapshot-unknown/__tests__/__snapshots__/fails.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshot this one makes not toMatchSnapshot assertion, but has a .snap file 1`] = `"normal"`; diff --git a/e2e/snapshot-unknown/__tests__/__snapshots__/fails2.test.js.snap b/e2e/snapshot-unknown/__tests__/__snapshots__/fails2.test.js.snap index 2c4c1a181285..19883bd126e7 100644 --- a/e2e/snapshot-unknown/__tests__/__snapshots__/fails2.test.js.snap +++ b/e2e/snapshot-unknown/__tests__/__snapshots__/fails2.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshot this one makes not toMatchSnapshot assertion, but has a .snap file 1`] = `"normal"`; diff --git a/e2e/snapshot-unknown/__tests__/__snapshots__/works.test.js.snap b/e2e/snapshot-unknown/__tests__/__snapshots__/works.test.js.snap index 2a8b56674496..ed6f374b7584 100644 --- a/e2e/snapshot-unknown/__tests__/__snapshots__/works.test.js.snap +++ b/e2e/snapshot-unknown/__tests__/__snapshots__/works.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshot some snapshots exists and are fine 1`] = `"normal"`; diff --git a/e2e/test-failing-snapshot-all-pass/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/test-failing-snapshot-all-pass/__tests__/__snapshots__/snapshot.test.js.snap index beec03f00559..014006ee0b2a 100644 --- a/e2e/test-failing-snapshot-all-pass/__tests__/__snapshots__/snapshot.test.js.snap +++ b/e2e/test-failing-snapshot-all-pass/__tests__/__snapshots__/snapshot.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshots not updated 1`] = `"1"`; diff --git a/e2e/test-failing-snapshot/__tests__/__snapshots__/snapshot.test.js.snap b/e2e/test-failing-snapshot/__tests__/__snapshots__/snapshot.test.js.snap index f0502aba8f3b..dab304309949 100644 --- a/e2e/test-failing-snapshot/__tests__/__snapshots__/snapshot.test.js.snap +++ b/e2e/test-failing-snapshot/__tests__/__snapshots__/snapshot.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshots not updated nor removed 1`] = `"1"`; diff --git a/e2e/transform/multiple-transformers/__tests__/__snapshots__/multipleTransformers.test.js.snap b/e2e/transform/multiple-transformers/__tests__/__snapshots__/multipleTransformers.test.js.snap index e0da9a921a06..45abb8c8bd32 100644 --- a/e2e/transform/multiple-transformers/__tests__/__snapshots__/multipleTransformers.test.js.snap +++ b/e2e/transform/multiple-transformers/__tests__/__snapshots__/multipleTransformers.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`generates a snapshot with correctly transformed dependencies 1`] = `
diff --git a/examples/snapshot/__tests__/__snapshots__/link.test.js.snap b/examples/snapshot/__tests__/__snapshots__/link.test.js.snap index 62627f397202..6ae92a39ce72 100644 --- a/examples/snapshot/__tests__/__snapshots__/link.test.js.snap +++ b/examples/snapshot/__tests__/__snapshots__/link.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`changes the class when hovered 1`] = ` expect(received)[.not].hasAssertions() diff --git a/packages/expect/src/__tests__/__snapshots__/customEqualityTesters.test.ts.snap b/packages/expect/src/__tests__/__snapshots__/customEqualityTesters.test.ts.snap index 7f36dfe58990..9725339ec676 100644 --- a/packages/expect/src/__tests__/__snapshots__/customEqualityTesters.test.ts.snap +++ b/packages/expect/src/__tests__/__snapshots__/customEqualityTesters.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`with custom equality testers toMatchObject error shows Volume objects as equal 1`] = ` "expect(received).toMatchObject(expected) diff --git a/packages/expect/src/__tests__/__snapshots__/customEqualityTestersRecursive.test.ts.snap b/packages/expect/src/__tests__/__snapshots__/customEqualityTestersRecursive.test.ts.snap index 500263eded6b..d70039fd305f 100644 --- a/packages/expect/src/__tests__/__snapshots__/customEqualityTestersRecursive.test.ts.snap +++ b/packages/expect/src/__tests__/__snapshots__/customEqualityTestersRecursive.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`with custom equality testers toMatchObject error shows Book objects as equal 1`] = ` "expect(received).toMatchObject(expected) diff --git a/packages/expect/src/__tests__/__snapshots__/extend.test.ts.snap b/packages/expect/src/__tests__/__snapshots__/extend.test.ts.snap index 0dcdf8adf905..5ab15fb3a64f 100644 --- a/packages/expect/src/__tests__/__snapshots__/extend.test.ts.snap +++ b/packages/expect/src/__tests__/__snapshots__/extend.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`defines asymmetric unary matchers 1`] = ` expect(received).toEqual(expected) // deep equality diff --git a/packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap b/packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap index c0e737dc4685..c8bee11e7fd0 100644 --- a/packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap +++ b/packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`.rejects fails for promise that resolves 1`] = ` expect(received).rejects.toBe() diff --git a/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.ts.snap b/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.ts.snap index e8b6a57a9d3c..3a659f34c82a 100644 --- a/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.ts.snap +++ b/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`toHaveBeenCalled .not fails with any argument passed 1`] = ` expect(received).not.toHaveBeenCalled() diff --git a/packages/expect/src/__tests__/__snapshots__/toThrowMatchers.test.ts.snap b/packages/expect/src/__tests__/__snapshots__/toThrowMatchers.test.ts.snap index de7b0318643b..7aaeefb17fe6 100644 --- a/packages/expect/src/__tests__/__snapshots__/toThrowMatchers.test.ts.snap +++ b/packages/expect/src/__tests__/__snapshots__/toThrowMatchers.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`toThrow asymmetric any-Class fail isNot false 1`] = ` expect(received).toThrow(expected) diff --git a/packages/jest-circus/src/__tests__/__snapshots__/afterAll.test.ts.snap b/packages/jest-circus/src/__tests__/__snapshots__/afterAll.test.ts.snap index 0f4a157cbb31..231846d6ff57 100644 --- a/packages/jest-circus/src/__tests__/__snapshots__/afterAll.test.ts.snap +++ b/packages/jest-circus/src/__tests__/__snapshots__/afterAll.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`child tests marked with only should not run if describe block is skipped 1`] = ` "start_describe_definition: describe diff --git a/packages/jest-circus/src/__tests__/__snapshots__/baseTest.test.ts.snap b/packages/jest-circus/src/__tests__/__snapshots__/baseTest.test.ts.snap index 531ff0e13f1f..0e4b8dda9902 100644 --- a/packages/jest-circus/src/__tests__/__snapshots__/baseTest.test.ts.snap +++ b/packages/jest-circus/src/__tests__/__snapshots__/baseTest.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`failures 1`] = ` "start_describe_definition: describe diff --git a/packages/jest-circus/src/__tests__/__snapshots__/hooks.test.ts.snap b/packages/jest-circus/src/__tests__/__snapshots__/hooks.test.ts.snap index 277e3c17e2f7..90acf0cf56b3 100644 --- a/packages/jest-circus/src/__tests__/__snapshots__/hooks.test.ts.snap +++ b/packages/jest-circus/src/__tests__/__snapshots__/hooks.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`beforeAll is exectued correctly 1`] = ` "start_describe_definition: describe 1 diff --git a/packages/jest-circus/src/__tests__/__snapshots__/randomizeTest.test.ts.snap b/packages/jest-circus/src/__tests__/__snapshots__/randomizeTest.test.ts.snap index 531ff0e13f1f..0e4b8dda9902 100644 --- a/packages/jest-circus/src/__tests__/__snapshots__/randomizeTest.test.ts.snap +++ b/packages/jest-circus/src/__tests__/__snapshots__/randomizeTest.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`failures 1`] = ` "start_describe_definition: describe diff --git a/packages/jest-circus/src/__tests__/__snapshots__/shuffleArray.test.ts.snap b/packages/jest-circus/src/__tests__/__snapshots__/shuffleArray.test.ts.snap index fa97936e90c3..0304acff755b 100644 --- a/packages/jest-circus/src/__tests__/__snapshots__/shuffleArray.test.ts.snap +++ b/packages/jest-circus/src/__tests__/__snapshots__/shuffleArray.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`rngBuilder creates a randomizer given seed 1 1`] = ` Array [ diff --git a/packages/jest-config/src/__tests__/__snapshots__/normalize.test.ts.snap b/packages/jest-config/src/__tests__/__snapshots__/normalize.test.ts.snap index 514648c12674..3c55ba4b9534 100644 --- a/packages/jest-config/src/__tests__/__snapshots__/normalize.test.ts.snap +++ b/packages/jest-config/src/__tests__/__snapshots__/normalize.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`displayName generates a default color for the runner jest-runner 1`] = `"yellow"`; diff --git a/packages/jest-core/src/__tests__/__snapshots__/SnapshotInteractiveMode.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/SnapshotInteractiveMode.test.js.snap index 4a5db3df59ea..45bc0a9b3711 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/SnapshotInteractiveMode.test.js.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/SnapshotInteractiveMode.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`SnapshotInteractiveMode skip 1 test, then quit 1`] = ` " diff --git a/packages/jest-core/src/__tests__/__snapshots__/getNoTestsFoundMessage.test.ts.snap b/packages/jest-core/src/__tests__/__snapshots__/getNoTestsFoundMessage.test.ts.snap index 059aa966f758..c4336d606f4a 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/getNoTestsFoundMessage.test.ts.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/getNoTestsFoundMessage.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`getNoTestsFoundMessage returns correct message when monitoring only changed 1`] = ` Object { diff --git a/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap index b6718ce48fd7..f356cbff0047 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/watch.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Watch mode flows Runs Jest in a non-interactive environment not showing usage 1`] = ` Array [ diff --git a/packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap index 085808de5e8b..b3d728749c05 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/watchFilenamePatternMode.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Watch mode flows Pressing "P" enters pattern mode 1`] = ` " diff --git a/packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap b/packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap index adba322360be..d9685c9b4085 100644 --- a/packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap +++ b/packages/jest-core/src/__tests__/__snapshots__/watchTestNamePatternMode.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Watch mode flows Pressing "T" enters pattern mode 1`] = ` " diff --git a/packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap b/packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap index ebe9a4456480..0f63e8514fbf 100644 --- a/packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap +++ b/packages/jest-core/src/lib/__tests__/__snapshots__/logDebugMessages.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`prints the config object 1`] = ` "{ diff --git a/packages/jest-diff/src/__tests__/__snapshots__/diff.test.ts.snap b/packages/jest-diff/src/__tests__/__snapshots__/diff.test.ts.snap index de7b8533207f..4a2f08f11f90 100644 --- a/packages/jest-diff/src/__tests__/__snapshots__/diff.test.ts.snap +++ b/packages/jest-diff/src/__tests__/__snapshots__/diff.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`collapses big diffs to patch format 1`] = ` - Expected diff --git a/packages/jest-diff/src/__tests__/__snapshots__/getAlignedDiffs.test.ts.snap b/packages/jest-diff/src/__tests__/__snapshots__/getAlignedDiffs.test.ts.snap index 44c519c9f6d4..6330b4c3cf24 100644 --- a/packages/jest-diff/src/__tests__/__snapshots__/getAlignedDiffs.test.ts.snap +++ b/packages/jest-diff/src/__tests__/__snapshots__/getAlignedDiffs.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`getAlignedDiffs lines change preceding and following common 1`] = ` - delete diff --git a/packages/jest-diff/src/__tests__/__snapshots__/joinAlignedDiffs.test.ts.snap b/packages/jest-diff/src/__tests__/__snapshots__/joinAlignedDiffs.test.ts.snap index cbc041c3ac19..11d3d62d2daa 100644 --- a/packages/jest-diff/src/__tests__/__snapshots__/joinAlignedDiffs.test.ts.snap +++ b/packages/jest-diff/src/__tests__/__snapshots__/joinAlignedDiffs.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`joinAlignedDiffsExpand first line is empty common 1`] = ` ↵ diff --git a/packages/jest-each/src/__tests__/__snapshots__/array.test.ts.snap b/packages/jest-each/src/__tests__/__snapshots__/array.test.ts.snap index 389742a74938..cbabcfc2aa2c 100644 --- a/packages/jest-each/src/__tests__/__snapshots__/array.test.ts.snap +++ b/packages/jest-each/src/__tests__/__snapshots__/array.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`jest-each .describe throws an error when called with an empty array 1`] = ` "Error: \`.each\` called with an empty Array of table data. diff --git a/packages/jest-each/src/__tests__/__snapshots__/index.test.ts.snap b/packages/jest-each/src/__tests__/__snapshots__/index.test.ts.snap index af1a9318ba07..f0c799c86bee 100644 --- a/packages/jest-each/src/__tests__/__snapshots__/index.test.ts.snap +++ b/packages/jest-each/src/__tests__/__snapshots__/index.test.ts.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`throws an error when not called with the right number of arguments 1`] = `"\`.each\` must only be called with an Array or Tagged Template Literal."`; diff --git a/packages/jest-each/src/__tests__/__snapshots__/template.test.ts.snap b/packages/jest-each/src/__tests__/__snapshots__/template.test.ts.snap index 1bea0a362294..49cf99b7aca5 100644 --- a/packages/jest-each/src/__tests__/__snapshots__/template.test.ts.snap +++ b/packages/jest-each/src/__tests__/__snapshots__/template.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`jest-each .describe throws an error when called with an empty string 1`] = ` "Error: \`.each\` called with an empty Tagged Template Literal of table data. diff --git a/packages/jest-fake-timers/src/__tests__/__snapshots__/legacyFakeTimers.test.ts.snap b/packages/jest-fake-timers/src/__tests__/__snapshots__/legacyFakeTimers.test.ts.snap index 4a1286a87aed..db7b61063146 100644 --- a/packages/jest-fake-timers/src/__tests__/__snapshots__/legacyFakeTimers.test.ts.snap +++ b/packages/jest-fake-timers/src/__tests__/__snapshots__/legacyFakeTimers.test.ts.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`FakeTimers runAllTimers warns when trying to advance timers while real timers are used 1`] = `"A function to advance timers was called but the timers APIs are not mocked with fake timers. Call \`jest.useFakeTimers({legacyFakeTimers: true})\` in this test file or enable fake timers for all tests by setting {'enableGlobally': true, 'legacyFakeTimers': true} in Jest configuration file."`; diff --git a/packages/jest-fake-timers/src/__tests__/__snapshots__/modernFakeTimers.test.ts.snap b/packages/jest-fake-timers/src/__tests__/__snapshots__/modernFakeTimers.test.ts.snap index daf980ad8701..c062dfb5f59b 100644 --- a/packages/jest-fake-timers/src/__tests__/__snapshots__/modernFakeTimers.test.ts.snap +++ b/packages/jest-fake-timers/src/__tests__/__snapshots__/modernFakeTimers.test.ts.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`FakeTimers runAllTimers warns when trying to advance timers while real timers are used 1`] = `"A function to advance timers was called but the timers APIs are not replaced with fake timers. Call \`jest.useFakeTimers()\` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file."`; diff --git a/packages/jest-haste-map/src/__tests__/__snapshots__/index.test.js.snap b/packages/jest-haste-map/src/__tests__/__snapshots__/index.test.js.snap index 8de2cfeed977..9ab1f7d97fcb 100644 --- a/packages/jest-haste-map/src/__tests__/__snapshots__/index.test.js.snap +++ b/packages/jest-haste-map/src/__tests__/__snapshots__/index.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`HasteMap file system changes processing recovery from duplicate module IDs recovers when the most recent duplicate is fixed 1`] = ` "The name \`Pear\` was looked up in the Haste module map. It cannot be resolved, because there exists several different files, or packages, that provide a module for that particular name and platform. The platform is generic (no extension). You must delete or exclude files until there remains only one of these: diff --git a/packages/jest-jasmine2/src/__tests__/__snapshots__/expectationResultFactory.test.ts.snap b/packages/jest-jasmine2/src/__tests__/__snapshots__/expectationResultFactory.test.ts.snap index e851ee02c188..c1bc5070decf 100644 --- a/packages/jest-jasmine2/src/__tests__/__snapshots__/expectationResultFactory.test.ts.snap +++ b/packages/jest-jasmine2/src/__tests__/__snapshots__/expectationResultFactory.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`expectationResultFactory returns the result if failed (with \`error.stack\` not as a string). 1`] = ` "thrown: Object { diff --git a/packages/jest-leak-detector/src/__tests__/__snapshots__/index.test.ts.snap b/packages/jest-leak-detector/src/__tests__/__snapshots__/index.test.ts.snap index 39e662322340..481ca1ffca34 100644 --- a/packages/jest-leak-detector/src/__tests__/__snapshots__/index.test.ts.snap +++ b/packages/jest-leak-detector/src/__tests__/__snapshots__/index.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`complains if the value is a primitive 1`] = `"Primitives cannot leak memory. You passed a undefined: "`; diff --git a/packages/jest-matcher-utils/src/__tests__/__snapshots__/index.test.ts.snap b/packages/jest-matcher-utils/src/__tests__/__snapshots__/index.test.ts.snap index a89c3850194b..8b6243f1b227 100644 --- a/packages/jest-matcher-utils/src/__tests__/__snapshots__/index.test.ts.snap +++ b/packages/jest-matcher-utils/src/__tests__/__snapshots__/index.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`ensureNoExpected() throws error when expected is not undefined with matcherName 1`] = ` expect(received)[.not].toBeDefined() diff --git a/packages/jest-matcher-utils/src/__tests__/__snapshots__/printDiffOrStringify.test.ts.snap b/packages/jest-matcher-utils/src/__tests__/__snapshots__/printDiffOrStringify.test.ts.snap index a35b44743030..588c27f1d6ef 100644 --- a/packages/jest-matcher-utils/src/__tests__/__snapshots__/printDiffOrStringify.test.ts.snap +++ b/packages/jest-matcher-utils/src/__tests__/__snapshots__/printDiffOrStringify.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`printDiffOrStringify asymmetricMatcher array 1`] = ` - Expected - 1 diff --git a/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap b/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap index 95a43bb6b650..37e27727cce8 100644 --- a/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap +++ b/packages/jest-message-util/src/__tests__/__snapshots__/messages.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`.formatExecError() 1`] = ` " ● Test suite failed to run diff --git a/packages/jest-pattern/src/__tests__/__snapshots__/TestPathPatterns.test.ts.snap b/packages/jest-pattern/src/__tests__/__snapshots__/TestPathPatterns.test.ts.snap index 14a6ec2592d0..407e472f9218 100644 --- a/packages/jest-pattern/src/__tests__/__snapshots__/TestPathPatterns.test.ts.snap +++ b/packages/jest-pattern/src/__tests__/__snapshots__/TestPathPatterns.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`TestPathPatterns toPretty renders a human-readable string 1`] = `"a/b|c/d"`; diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/GitHubActionsReporter.test.ts.snap b/packages/jest-reporters/src/__tests__/__snapshots__/GitHubActionsReporter.test.ts.snap index 296da56d83af..5454ae34bd3b 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/GitHubActionsReporter.test.ts.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/GitHubActionsReporter.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`annotations logs error annotation when a test has reference error 1`] = ` Array [ diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/NotifyReporter.test.ts.snap b/packages/jest-reporters/src/__tests__/__snapshots__/NotifyReporter.test.ts.snap index eea891a82bef..dfeca6589052 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/NotifyReporter.test.ts.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/NotifyReporter.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`test always 1`] = ` Array [ diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/SummaryReporter.test.js.snap b/packages/jest-reporters/src/__tests__/__snapshots__/SummaryReporter.test.js.snap index 60b44ee0f551..867a5aeefcbb 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/SummaryReporter.test.js.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/SummaryReporter.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snapshots all have results (after update) 1`] = ` "Snapshot Summary diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/generateEmptyCoverage.test.js.snap b/packages/jest-reporters/src/__tests__/__snapshots__/generateEmptyCoverage.test.js.snap index 750d84e01ff1..79bb668836bd 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/generateEmptyCoverage.test.js.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/generateEmptyCoverage.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`generateEmptyCoverage generates an empty coverage object for a file without running it 1`] = ` Object { diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotStatus.test.js.snap b/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotStatus.test.js.snap index 9694724453da..dce51e79d8d5 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotStatus.test.js.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotStatus.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Retrieves the snapshot status 1`] = ` Array [ diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotSummary.test.js.snap b/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotSummary.test.js.snap index 136b8cdc8013..f4dc5ffcff34 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotSummary.test.js.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/getSnapshotSummary.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`creates a snapshot summary 1`] = ` "Snapshot Summary diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/getSummary.test.ts.snap b/packages/jest-reporters/src/__tests__/__snapshots__/getSummary.test.ts.snap index 00e39eced7a2..aae3fe19df5d 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/getSummary.test.ts.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/getSummary.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`getSummary does not print seed value when showSeed is false 1`] = ` "Test Suites: 0 total diff --git a/packages/jest-reporters/src/__tests__/__snapshots__/utils.test.ts.snap b/packages/jest-reporters/src/__tests__/__snapshots__/utils.test.ts.snap index 345407701787..8ccade991842 100644 --- a/packages/jest-reporters/src/__tests__/__snapshots__/utils.test.ts.snap +++ b/packages/jest-reporters/src/__tests__/__snapshots__/utils.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`printDisplayName should correctly print the displayName when color and name are valid values 1`] = `" hello "`; diff --git a/packages/jest-resolve-dependencies/src/__tests__/__fixtures__/__snapshots__/related.test.js.snap b/packages/jest-resolve-dependencies/src/__tests__/__fixtures__/__snapshots__/related.test.js.snap index 2ef6359f6df5..edfa73013c29 100644 --- a/packages/jest-resolve-dependencies/src/__tests__/__fixtures__/__snapshots__/related.test.js.snap +++ b/packages/jest-resolve-dependencies/src/__tests__/__fixtures__/__snapshots__/related.test.js.snap @@ -1,3 +1,3 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`sample 1`] = `Object {}`; diff --git a/packages/jest-runtime/src/__tests__/__snapshots__/runtime_require_module_no_ext.test.js.snap b/packages/jest-runtime/src/__tests__/__snapshots__/runtime_require_module_no_ext.test.js.snap index 2820fb9f07d2..524b4410080c 100644 --- a/packages/jest-runtime/src/__tests__/__snapshots__/runtime_require_module_no_ext.test.js.snap +++ b/packages/jest-runtime/src/__tests__/__snapshots__/runtime_require_module_no_ext.test.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Runtime requireModule with no extension throws error pointing out file with extension 1`] = ` "Cannot find module 'RegularModuleWithWrongExt' from 'root.js' diff --git a/packages/jest-runtime/src/__tests__/__snapshots__/runtime_wrap.js.snap b/packages/jest-runtime/src/__tests__/__snapshots__/runtime_wrap.js.snap index 5d3099f81f8a..d3db7e99aafa 100644 --- a/packages/jest-runtime/src/__tests__/__snapshots__/runtime_wrap.js.snap +++ b/packages/jest-runtime/src/__tests__/__snapshots__/runtime_wrap.js.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Runtime wrapCodeInModuleWrapper generates the correct args for the module wrapper 1`] = ` "({"Object.":function(module,exports,require,__dirname,__filename,jest){module.exports = "Hello!" diff --git a/packages/jest-snapshot-utils/src/utils.ts b/packages/jest-snapshot-utils/src/utils.ts index 2c81b4a9c52f..a8bb3d86baa1 100644 --- a/packages/jest-snapshot-utils/src/utils.ts +++ b/packages/jest-snapshot-utils/src/utils.ts @@ -14,7 +14,7 @@ import type {SnapshotData} from './types'; export const SNAPSHOT_VERSION = '1'; const SNAPSHOT_VERSION_REGEXP = /^\/\/ Jest Snapshot v(.+),/; -export const SNAPSHOT_GUIDE_LINK = 'https://goo.gl/fbAQLP'; +export const SNAPSHOT_GUIDE_LINK = 'https://jestjs.io/docs/snapshot-testing'; export const SNAPSHOT_VERSION_WARNING = chalk.yellow( `${chalk.bold('Warning')}: Before you upgrade snapshots, ` + 'we recommend that you revert any local changes to tests or other code, ' + diff --git a/packages/jest-snapshot/src/__tests__/__snapshots__/SnapshotResolver.test.ts.snap b/packages/jest-snapshot/src/__tests__/__snapshots__/SnapshotResolver.test.ts.snap index c95e7f006cc1..7937c6f6f009 100644 --- a/packages/jest-snapshot/src/__tests__/__snapshots__/SnapshotResolver.test.ts.snap +++ b/packages/jest-snapshot/src/__tests__/__snapshots__/SnapshotResolver.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`malformed custom resolver in project config inconsistent functions throws 1`] = `"Custom snapshot resolver functions must transform paths consistently, i.e. expects resolveTestPath(resolveSnapshotPath('foo/__tests__/bar.test.js')) === foo/__SPECS__/bar.test.js"`; diff --git a/packages/jest-snapshot/src/__tests__/__snapshots__/mockSerializer.test.ts.snap b/packages/jest-snapshot/src/__tests__/__snapshots__/mockSerializer.test.ts.snap index f1fa6c9bd478..f742bd2e5ee2 100644 --- a/packages/jest-snapshot/src/__tests__/__snapshots__/mockSerializer.test.ts.snap +++ b/packages/jest-snapshot/src/__tests__/__snapshots__/mockSerializer.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`mock with 0 calls and default name 1`] = `[MockFunction]`; diff --git a/packages/jest-snapshot/src/__tests__/__snapshots__/printSnapshot.test.ts.snap b/packages/jest-snapshot/src/__tests__/__snapshots__/printSnapshot.test.ts.snap index 1b1aea2e1561..491999cb3c3a 100644 --- a/packages/jest-snapshot/src/__tests__/__snapshots__/printSnapshot.test.ts.snap +++ b/packages/jest-snapshot/src/__tests__/__snapshots__/printSnapshot.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`matcher error toMatchInlineSnapshot Expected properties must be an object (non-null) without snapshot 1`] = ` expect(received).toMatchInlineSnapshot(properties) diff --git a/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap b/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap index edf5da4fc49a..72d9f98e2727 100644 --- a/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap +++ b/packages/jest-transform/src/__tests__/__snapshots__/ScriptTransformer.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`ScriptTransformer (in sync mode) throws an error if \`process\` isn't defined 1`] = ` "● Invalid synchronous transformer module: diff --git a/packages/jest-validate/src/__tests__/__snapshots__/validate.test.ts.snap b/packages/jest-validate/src/__tests__/__snapshots__/validate.test.ts.snap index 7a367028da12..2853603160e5 100644 --- a/packages/jest-validate/src/__tests__/__snapshots__/validate.test.ts.snap +++ b/packages/jest-validate/src/__tests__/__snapshots__/validate.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`Repeated types within multiple valid examples are coalesced in error report 1`] = ` " Validation Error: diff --git a/packages/jest-validate/src/__tests__/__snapshots__/validateCLIOptions.test.ts.snap b/packages/jest-validate/src/__tests__/__snapshots__/validateCLIOptions.test.ts.snap index db5f2152ad08..b004082110a6 100644 --- a/packages/jest-validate/src/__tests__/__snapshots__/validateCLIOptions.test.ts.snap +++ b/packages/jest-validate/src/__tests__/__snapshots__/validateCLIOptions.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`does not show suggestion when unrecognized cli param length <= 1 1`] = ` " Unrecognized CLI Parameter: diff --git a/packages/jest-watcher/src/lib/__tests__/__snapshots__/formatTestNameByPattern.test.ts.snap b/packages/jest-watcher/src/lib/__tests__/__snapshots__/formatTestNameByPattern.test.ts.snap index c1631170908b..88882e8edb3d 100644 --- a/packages/jest-watcher/src/lib/__tests__/__snapshots__/formatTestNameByPattern.test.ts.snap +++ b/packages/jest-watcher/src/lib/__tests__/__snapshots__/formatTestNameByPattern.test.ts.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`for multiline test name returns test name with highlighted pattern and replaced line breaks 1`] = `"should⏎ name the ⏎function you at..."`; diff --git a/packages/pretty-format/src/__tests__/__snapshots__/react.test.tsx.snap b/packages/pretty-format/src/__tests__/__snapshots__/react.test.tsx.snap index 222b132d362d..0c286543f1d7 100644 --- a/packages/pretty-format/src/__tests__/__snapshots__/react.test.tsx.snap +++ b/packages/pretty-format/src/__tests__/__snapshots__/react.test.tsx.snap @@ -1,4 +1,4 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`ReactElement plugin highlights syntax 1`] = ` " diff --git a/website/blog/2017-02-21-jest-19-immersive-watch-mode-test-platform-improvements.md b/website/blog/2017-02-21-jest-19-immersive-watch-mode-test-platform-improvements.md index d9de58ad8f1b..6382a1a2b5d7 100644 --- a/website/blog/2017-02-21-jest-19-immersive-watch-mode-test-platform-improvements.md +++ b/website/blog/2017-02-21-jest-19-immersive-watch-mode-test-platform-improvements.md @@ -38,7 +38,7 @@ exports[`test snap 1`] = ` After (no “test” prefix, better JSX rendering, version header): ```js -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`snap 1`] = `