Skip to content

Commit f17a3d3

Browse files
committed
fix: add temporary sleep to flaky test
1 parent 3d04ba1 commit f17a3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tests/headless.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dotenv.config({ path: "../../.env" });
3333
}
3434
);
3535
try {
36-
DappDriver.sleep(2000); // TODO: wait for load
36+
await DappDriver.sleep(2000); // TODO: wait for load
3737
const actualAccount: string = await dapp.getAccounts();
3838
const expectedAccount = "0xe18035bf8712672935fdb4e5e431b1a0183d2dfc";
3939
expect(actualAccount).to.be.equal(expectedAccount);

0 commit comments

Comments
 (0)