Skip to content

Commit

Permalink
chore: add cypress config
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkadir committed Mar 13, 2024
1 parent 374d1ad commit 592fb0b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 10 additions & 0 deletions clients/mercury-web/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { defineConfig } = require("cypress");

module.exports = defineConfig({
e2e: {
baseUrl: "http://localhost:5173/",
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});
9 changes: 5 additions & 4 deletions clients/mercury-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"cypress": "cypress open"
},
"dependencies": {
"@reduxjs/toolkit": "^2.2.1",
Expand All @@ -23,15 +24,15 @@
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"cypress": "^13.6.6",
"cypress-vite": "^1.5.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"mercury-wasm": "file:wasm/web_pkg",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"vite": "^5.1.4",
"cypress": "^13.6.6",
"cypress-vite": "^1.5.0"
"vite": "^5.1.4"
}
}

0 comments on commit 592fb0b

Please sign in to comment.