diff --git a/unit-test-security-rules-v9/test/database.spec.js b/unit-test-security-rules-v9/test/database.spec.js index 1579eb4b..137eb2e6 100644 --- a/unit-test-security-rules-v9/test/database.spec.js +++ b/unit-test-security-rules-v9/test/database.spec.js @@ -51,7 +51,7 @@ after(async () => { }); beforeEach(async () => { - testEnv.clearDatabase(); + await testEnv.clearDatabase(); }); // If you want to define global variables for Rules Test Contexts to save some