Skip to content

Commit

Permalink
chore: add website testing to testing scripts (#8850)
Browse files Browse the repository at this point in the history
* chore: add website testing to testing scripts
Signed-off-by: Sonia Sandler <[email protected]>
  • Loading branch information
SoniaSandler authored Sep 11, 2024
1 parent cb16fa4 commit 352b9f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"compile:pull-request": "cross-env MODE=production npm run build && electron-builder build --publish never --config .electron-builder.config.cjs",
"compile:current": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.cjs",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "npm run test:main && npm run test:preload && npm run test:preload-docker-extension && npm run test:preload-webview && npm run test:ui && npm run test:renderer && npm run test:scripts:stylesheet && npm run test:tools && npm run test:extensions",
"test:unit": "npm run test:main && npm run test:preload && npm run test:preload-docker-extension && npm run test:preload-webview && npm run test:ui && npm run test:renderer && npm run test:scripts:stylesheet && npm run test:tools && npm run test:extensions && npm run test:website",
"test:e2e": "npm run test:e2e:build && npm run test:e2e:run",
"test:e2e:build": "cross-env NODE_ENV=development MODE=development DEBUG=pw:browser npm run build",
"test:e2e:run": "xvfb-maybe --auto-servernum --server-args='-screen 0 1280x960x24' -- npx playwright test tests/playwright/src/specs/ --grep-invert @update-install",
Expand Down Expand Up @@ -65,6 +65,7 @@
"test:tools": "vitest run tools --passWithNoTests --coverage",
"test:scripts:stylesheet": "vitest run ./scripts/generate-stylesheet.spec.ts --passWithNoTests",
"test:watch": "vitest watch",
"test:website": "vitest run -r website --passWithNoTests --coverage",
"watch": "node scripts/watch.mjs",
"format:check": "prettier --cache --check \"{extensions,packages,tests,types,tools,website-argos}/**/*.{ts,svelte}\" \"extensions/*/scripts/*.{ts,js}\" \"website/**/*.{md,js}\" \"website/src/**/*.{css,tsx}\"",
"format:fix": "prettier --cache --write \"{extensions,packages,tests,types,tools,website-argos}/**/*.{ts,svelte}\" \"extensions/*/scripts/*.{ts,js}\" \"website/**/*.{md,js}\" \"website/src/**/*.{css,tsx}\"",
Expand Down

0 comments on commit 352b9f8

Please sign in to comment.