Skip to content

Commit

Permalink
remove extra server commands
Browse files Browse the repository at this point in the history
  • Loading branch information
iamfrank committed Nov 30, 2023
1 parent 7bfad0a commit cfe8d82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"build": "export NODE_ENV=build && node build/build.mjs && npm run build-examples && npm run build-es",
"dev": "export NODE_ENV=development && node build/build.mjs",
"build-examples": "node build/build-examples.mjs",
"start": "python3 -m http.server 7777",
"test": "npm run build && npx playwright test",
"lint": "./node_modules/.bin/eslint src --fix",
"build-es": "node build/build-es.mjs"
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const config = {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: process.env.CI ? 'https://sdfidk.github.io/okapi/' : 'localhost:7777',
baseURL: process.env.CI ? 'https://sdfidk.github.io/okapi/' : 'localhost:8000',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
Expand Down

0 comments on commit cfe8d82

Please sign in to comment.