Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten committed Sep 13, 2022
1 parent 2b62ce4 commit 6697ae1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/explorer-client-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
uses: cypress-io/github-action@v4
with:
install: false
start: pnpm dlx concurrently 'cargo run --bin sui-test-validator' 'pnpm dev:local'
start: pnpm dlx concurrently --kill-others 'cargo run --bin sui-test-validator' 'pnpm dev:local'
working-directory: ./explorer/client
spec: cypress/e2e/localnet/*
# Wait on faucet and explorer:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run e2e tests
run: pnpm dlx concurrently 'cargo run --bin sui-test-validator' 'pnpm --filter @mysten/sui.js test:e2e'
run: pnpm dlx concurrently --kill-others --success command-1 'cargo run --bin sui-test-validator' 'pnpm --filter @mysten/sui.js test:e2e'
2 changes: 1 addition & 1 deletion sdk/typescript/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"extends": "../tsconfig.json",
"include": ["./"],
"compilerOptions": {
"resolveJsonModule": true
Expand Down
2 changes: 2 additions & 0 deletions sdk/typescript/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { configDefaults, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
exclude: [...configDefaults.exclude, 'bcs/**'],
minThreads: 1,
maxThreads: 8,
},
resolve: {
alias: {
Expand Down

0 comments on commit 6697ae1

Please sign in to comment.