Skip to content

Commit 0b1e627

Browse files
prevent concurrent web package tests
1 parent 9c8e57d commit 0b1e627

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"format": "prettier --write .",
2121
"lint": "eslint .",
2222
"release": "pnpm build:packages:prod && pnpm changeset publish",
23-
"test": "pnpm run -r test"
23+
"test": "pnpm run -r --workspace-concurrency=0 test"
2424
},
2525
"keywords": [],
2626
"type": "module",

packages/web/tests/multiple_instances.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,6 @@ describe('Multiple Instances', { sequential: true }, () => {
265265
expect(spy2).toHaveBeenCalledOnce();
266266

267267
// Close the second client, leaving only the first one
268-
/**
269-
* This test is a bit hacky. If we dispose the second client, the shared sync worker
270-
* will try and reconnect, but we don't actually want it to do that since that connection attempt
271-
* will fail and it will report as `connected:false`.
272-
* We can hack as disconnected for now.
273-
*/
274268
await stream2.dispose();
275269

276270
// Hack, set the status to connected in order to trigger the upload

0 commit comments

Comments
 (0)