test: reliably wait for spellchecker to load (#28118)

This commit is contained in:
Cheng Zhao 2021-03-12 16:35:57 +09:00 committed by GitHub
parent 6c90411e21
commit 5b710519cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 39 deletions

View file

@ -43,6 +43,7 @@ declare namespace NodeJS {
weaklyTrackValue(value: any): void;
clearWeaklyTrackedValues(): void;
getWeaklyTrackedValues(): any[];
runUntilIdle(): void;
isSameOrigin(a: string, b: string): boolean;
triggerFatalErrorForTesting(): void;
}