Skip to content

Commit

Permalink
fix(ci): fix subargs issue w/pte e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Feb 14, 2024
1 parent 1b7a1f1 commit f0fad4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-pte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
run: npx playwright install --with-deps

- name: Run end-to-end tests
run: cd packages/@sanity/portable-text-editor && pnpm test:e2e -- --silent --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }}
run: npx jest --config=packages/@sanity/portable-text-editor/e2e-tests/e2e.config.cjs --silent --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }}
2 changes: 1 addition & 1 deletion packages/@sanity/portable-text-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"prettier": "prettier --write './**/*.{ts,tsx,js,css,html}'",
"dev": "cd ./test/ && ts-node serve",
"test": "jest",
"test:e2e": "cd e2e-tests && jest --config=e2e.config.cjs",
"test:e2e": "jest --config=e2e-tests/e2e.config.cjs",
"test:watch": "jest --watch",
"watch": "pkg-utils watch --tsconfig tsconfig.lib.json"
},
Expand Down

0 comments on commit f0fad4c

Please sign in to comment.