build(#10336): fix missing type definition
This commit is contained in:
parent
bf9846a269
commit
558d73b21a
5 changed files with 26 additions and 7 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/// <reference types="@testing-library/jest-dom"/>
|
||||
|
||||
export async function tick(): Promise<void> {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||
await new Promise((globalThis.requestIdleCallback ?? setTimeout) as never);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue