Skip to content

Commit 0e16591

Browse files
committed
hack cypress config file
1 parent c0d3771 commit 0e16591

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

vuu-ui/cypress.config.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import { defineConfig } from "cypress";
2-
import react from "@vitejs/plugin-react";
3-
import tsconfigPaths from "vite-tsconfig-paths";
42
import { UserConfig } from "vite";
53
import { version as reactVersion } from "react";
6-
import { cssInline } from "vite-plugin-inline-css";
74

85
const viteConfig: UserConfig = {
9-
plugins: [react(), tsconfigPaths(), /*, IstanbulPlugin()*/ cssInline()],
6+
plugins: [],
107
server: {
118
watch: {
129
ignored: ["**/coverage"],
@@ -19,13 +16,6 @@ const viteConfig: UserConfig = {
1916
"process.env.NODE_DEBUG": false,
2017
"process.env.LOCAL": true,
2118
},
22-
resolve: {
23-
alias: {
24-
"cypress/react18": reactVersion.startsWith("18")
25-
? "cypress/react18"
26-
: "cypress/react",
27-
},
28-
},
2919
};
3020

3121
export default defineConfig({

vuu-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"showcase": "cd showcase && npm run showcase",
4242
"showcase:preview": "serve ./showcase/dist -p 4173",
4343
"showcase:build": "npm run build:worker && cd showcase && tsx scripts/build.ts",
44-
"test:cypress": "npm run build:worker && DEBUG=cypress:* cypress run --component --browser chrome --headless",
44+
"test:cypress": "npm run build:worker && cypress run --component --browser chrome --headless",
4545
"test:cypress:local": "cypress open --component --browser chrome",
4646
"test:vite": "npm run build:worker && vitest run",
4747
"bump": "node ./scripts/version.mjs",

0 commit comments

Comments
 (0)