Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Jul 1, 2024
1 parent e22f9d8 commit 6dcb919
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/xr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,11 @@ describe('WebXR', () => {
getMutableComponent(viewerEntity, RendererComponent).set(renderer)
})

afterEach(() => {
destroyEngine()
afterEach(async () => {
await destroyEngine()
})

it('can define and initialize a device', async () => {
// send our device info to the polyfill API so it knows our capabilities
WebXREventDispatcher.instance.dispatchEvent({
type: POLYFILL_ACTIONS.DEVICE_INIT,
detail: { stereoEffect: false, deviceDefinition }
Expand Down

0 comments on commit 6dcb919

Please sign in to comment.