Reconfigured cypress / typescript / vite.

This commit is contained in:
Jay
2025-06-17 10:19:39 -04:00
parent ce8cf473c9
commit c0343f2378
10 changed files with 84 additions and 60 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from "cypress";
import vitePreprocessor from "cypress-vite";
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
on("file:preprocessor", vitePreprocessor());
},
baseUrl: "http://localhost:5173",
},
component: {
devServer: {
framework: "react",
bundler: "vite",
viteConfig: {
server: {
port: 5174,
},
},
},
},
});