Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fixes - functions linting #1164

Merged
merged 2 commits into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cypress/support/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ beforeEach(() => {
*/
after(() => {
cy.clearServiceWorkers()
cy.wrap('Clear DB').then({ timeout: 30000 }, () => {
cy.wrap('Clear DB').then({ timeout: 120000 }, () => {
return new Cypress.Promise((resolve, reject) => {
// force resolve in case of server issues (sometimes a bit flaky)
setTimeout(() => {
resolve()
}, 10000)
// clear the database
TestDB.clearDB().then(
() => resolve(),
err => reject(err),
Expand Down
3 changes: 1 addition & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
},
"functions": {
"predeploy": [
"yarn workspace functions install",
"yarn workspace functions lint",
"yarn install",
"yarn workspace functions exec npm run build"
],
"source": "functions"
Expand Down