diff --git a/src/webgpu/idl/idl_test.ts b/src/webgpu/idl/idl_test.ts index a2119d2201e2..c67b708b439c 100644 --- a/src/webgpu/idl/idl_test.ts +++ b/src/webgpu/idl/idl_test.ts @@ -1,4 +1,5 @@ import { Fixture } from '../../common/framework/fixture.js'; +import { getGPU } from '../../common/util/navigator_gpu.js'; import { assert } from '../../common/util/util.js'; interface UnknownObject { @@ -11,6 +12,11 @@ interface UnknownObject { export class IDLTest extends Fixture { // TODO: add a helper to check prototype chains + async init(): Promise { + // Ensure the GPU provider is initialized + getGPU(); + } + /** * Asserts that a member of an IDL interface has the expected value. */