Skip to content

Commit 968ce6b

Browse files
committed
cleanup ref count test
1 parent 53f1219 commit 968ce6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/tests/reference-count-tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ describe('reference count tests', () => {
1919
it('correctly handles GC with device.features', async function() {
2020
this.timeout(20000);
2121
const adapter = await navigator.gpu.requestAdapter();
22-
const device = await adapter?.requestDevice();
23-
assert(!!device, 'got device');
2422

2523
const [iterWeakRef, featuresWeakRef] = await (async () => {
2624
const [iter, deviceWeakRef, featuresWeakRef] = await (async () => {
@@ -42,4 +40,5 @@ describe('reference count tests', () => {
4240
// dawn.node will likely crash before this if this is not working.
4341
});
4442

43+
4544
});

0 commit comments

Comments
 (0)