Skip to content

Conversation

@JorisPhilipsen
Copy link

In the unit-test-security-rules-v9 part of the project in the beforeEach method there is an await missing, causing the npm command: test-database to fail.

I also have an issue with it timing out to early when running:

firebase emulators:exec --only database "npm run test-database"

This can be fixed by replacing the npm command: test-database with:

"mocha --timeout 10000 --exit test/database.spec.js",

(Simply adding a longer timeout).

I've decided to only add the await in this PR, because the timeout issue doesn't happen on every machine.

Copy link
Member

@davideast davideast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JorisPhilipsen Thank you! LGTM!

@davideast davideast enabled auto-merge (squash) July 6, 2023 11:34
@davideast davideast merged commit 87e4afe into firebase:master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants