From bfc40cc804c952d437591773752d45c3e12ea6f2 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 31 Jan 2022 11:51:52 +0000 Subject: [PATCH] Cypress setup, allowing option for using typescript locally. --- packages/builder/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 3435402bac..17f737f89b 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -11,12 +11,13 @@ "dev:builder": "routify -c dev:vite", "dev:vite": "vite --host 0.0.0.0", "rollup": "rollup -c -w", - "cy:setup": "node ./cypress/setup.js", + "cy:setup": "ts-node ./cypress/ts/setup.ts", + "cy:setup:ci": "node ./cypress/setup.js", "cy:run": "cypress run", "cy:open": "cypress open", "cy:run:ci": "cypress run --record", "cy:test": "start-server-and-test cy:setup http://localhost:10001/builder cy:run", - "cy:ci": "start-server-and-test cy:setup http://localhost:10001/builder cy:run", + "cy:ci": "start-server-and-test cy:setup:ci http://localhost:10001/builder cy:run", "cy:debug": "start-server-and-test cy:setup http://localhost:10001/builder cy:open" }, "jest": {