Skip to content

Commit

Permalink
refactor: ♻️ Update development server URL for cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
singhAmandeep007 committed Nov 24, 2024
1 parent 9efa65a commit bdf38fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
setupNodeEvents(on, config) {
// implement node event listeners here
},
baseUrl: "http://localhost:5001",
baseUrl: "http://localhost:9001",
specPattern: "cypress/specs/**/*.cy.{js,jsx,ts,tsx}",

env: {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"preview:test": "npm run build && start-server-and-test preview http://localhost:5001",
"dev:test": "start-server-and-test dev http://localhost:9001",
"init:msw": "msw init ./public --no-save",
"lint": "eslint --report-unused-disable-directives --max-warnings 5 \"{src,cypress}/**/*.{js,jsx,ts,tsx}\"",
"format": "prettier --write \"{src,cypress}/**/*.{js,jsx,ts,tsx,css,scss,html,md,json}\"",
Expand All @@ -35,8 +35,8 @@
"test:unit:watch": "vitest watch",
"test:unit:typecheck": "vitest run --typecheck",
"test:unit:ui": "vitest --ui --coverage.enabled=true",
"test:e2e": "npm run preview:test 'cypress open'",
"test:e2e:headless": "npm run preview:test 'cypress run'",
"test:e2e": "npm run dev:test 'cypress open'",
"test:e2e:headless": "npm run dev:test 'cypress run'",
"cy:install": "cypress install",
"TEST-END": "----------------------------------------------------------------------------",
"COMMIT-START": "------------------------------------------------------------------------",
Expand Down

0 comments on commit bdf38fb

Please sign in to comment.