Skip to content

Commit 8689723

Browse files
committed
Fix await syntax in util
Signed-off-by: Shubham Sharma <[email protected]>
1 parent a0062be commit 8689723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export async function testIt(name: string, fn?: any, timeout?: number): Promise<void> {
22
test(name, async () => {
33
try {
4-
fn()
4+
await fn()
55
}
66
catch (error) {
77
// set failure environment variable

0 commit comments

Comments
 (0)