From 2e0088b488f766d609f48ab79ee71430a379bd9a Mon Sep 17 00:00:00 2001 From: Timon Jurschitsch Date: Thu, 13 Apr 2023 13:16:54 +0200 Subject: [PATCH] Remove unnecessary snapshot --- .../__tests__/__snapshots__/init.test.ts.snap | 62 +------------------ 1 file changed, 1 insertion(+), 61 deletions(-) diff --git a/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap b/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap index 321310fad460..64f0e273f2f8 100644 --- a/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap +++ b/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap @@ -63,67 +63,6 @@ Object { } `; -exports[`init project using jest.config.cts ask the user whether he wants to use Typescript or not user answered with "Yes" 1`] = ` -Array [ - Object { - "initial": true, - "message": "Would you like to use Jest when running "test" script in "package.json"?", - "name": "scripts", - "type": "confirm", - }, - Object { - "initial": false, - "message": "Would you like to use Typescript for the configuration file?", - "name": "useTypescript", - "type": "confirm", - }, - Object { - "choices": Array [ - Object { - "title": "node", - "value": "node", - }, - Object { - "title": "jsdom (browser-like)", - "value": "jsdom", - }, - ], - "initial": 0, - "message": "Choose the test environment that will be used for testing", - "name": "environment", - "type": "select", - }, - Object { - "initial": false, - "message": "Do you want Jest to add coverage reports?", - "name": "coverage", - "type": "confirm", - }, - Object { - "choices": Array [ - Object { - "title": "v8", - "value": "v8", - }, - Object { - "title": "babel", - "value": "babel", - }, - ], - "initial": 0, - "message": "Which provider should be used to instrument code for coverage?", - "name": "coverageProvider", - "type": "select", - }, - Object { - "initial": false, - "message": "Automatically clear mock calls, instances, contexts and results before every test?", - "name": "clearMocks", - "type": "confirm", - }, -] -`; - exports[`init project using jest.config.ts ask the user whether he wants to use Typescript or not user answered with "Yes" 1`] = ` Array [ Object { @@ -270,6 +209,7 @@ module.exports = { // "cjs", // "jsx", // "ts", + // "cts", // "tsx", // "json", // "node"