Skip to content

Commit

Permalink
another check
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperoni505 committed Jan 19, 2024
1 parent fc9ce01 commit da53c88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ let runLifecycle = true
async function lifeCycle() {
while (runLifecycle) {
await new Promise(resolve => setTimeout(resolve, 1000 / drawRate))
if (!runLifecycle) break

const floats = new Uint8Array(new Float64Array([0, 0, 0, 1 / drawRate]).buffer) // First 4 64 bit doubles of sGaugeDrawData
const ints = new Uint8Array(new Int32Array([0, 0, 0, 0]).buffer) // Last 4 32 bit ints of sGaugeDrawData
Expand Down Expand Up @@ -292,4 +291,6 @@ void lifeCycle()
// Cancel the lifeCycle after all tests have completed
afterAll(() => {
runLifecycle = false
// Wait 5 seconds for everything to wrap up
setTimeout(() => {}, 5000)
})

0 comments on commit da53c88

Please sign in to comment.