Returns the (case+subcase) parameters for this test function invocation.
Gets the test fixture's shared state. This object is shared between subcases within the same testcase.
Asserts that an IDL interface has the same number of keys as the
MAINTENANCE_TODO: add a way to check for the types of keys with unknown values, like methods and attributes MAINTENANCE_TODO: handle extensions
If the argument is an Error
, fail (or warn). If it's undefined
, no-op.
If the argument is an array, apply the above behavior on each of elements.
Optional
mode?: "fail" | "warn"Optional
niceExpect that the provided promise rejects, with the provided exception name.
Expect that the provided function throws (if true
or string
) or not (if false
).
If a string is provided, expect that the throw exception has that name.
MAINTENANCE_TODO: Change to string | false
so the exception name is always checked.
Static
MakeGenerated using TypeDoc
Base fixture for testing the exposed interface is correct (without actually using WebGPU).