Skip to content

Commit 87e4afe

Browse files
Added missing await to beforeEach (#275)
1 parent 8c0b7db commit 87e4afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit-test-security-rules-v9/test/database.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ after(async () => {
5151
});
5252

5353
beforeEach(async () => {
54-
testEnv.clearDatabase();
54+
await testEnv.clearDatabase();
5555
});
5656

5757
// If you want to define global variables for Rules Test Contexts to save some

0 commit comments

Comments
 (0)