Skip to content

Commit

Permalink
randomize room namespace in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotz committed Feb 4, 2024
1 parent 86c015a commit efb5376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default strategy =>
: `trystero-test-${Math.random()}`,
...(strategy === 'torrent' ? {trackerRedundancy} : {})
}
const testRoomNs = 'testRoom'
const testRoomNs = `testRoom-${Math.random().toString().replace('.', '')}`
const roomArgs = [testRoomConfig, testRoomNs]
const scriptUrl = `../dist/trystero-${strategy}.min.js`
const page2 = await context.newPage()
Expand Down

0 comments on commit efb5376

Please sign in to comment.