Skip to content

Commit

Permalink
chore(firebase): fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Apr 15, 2023
1 parent 16848e7 commit b194a66
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/firebase/src/generators/functions/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ describe('firebase generator', () => {
"serve": Object {
"command": "firebase emulators:start --only functions",
},
"test": Object {
"executor": "@nrwl/jest:jest",
"options": Object {
"coverageDirectory": "coverage/./test",
"jestConfig": "./test/jest.config.ts",
"passWithNoTests": true,
},
"outputs": Array [
"coverage/./test",
],
},
},
}
`);
Expand All @@ -105,6 +116,7 @@ describe('firebase generator', () => {
esbuild: expect.any(String),
'firebase-functions-test': expect.any(String),
'@nrwl/esbuild': expect.any(String),
'@nrwl/jest': expect.any(String),
});
});

Expand Down Expand Up @@ -168,6 +180,17 @@ describe('firebase generator', () => {
"serve": Object {
"command": "firebase emulators:start --only functions",
},
"test": Object {
"executor": "@nrwl/jest:jest",
"options": Object {
"coverageDirectory": "coverage/./test",
"jestConfig": "./test/jest.config.ts",
"passWithNoTests": true,
},
"outputs": Array [
"coverage/./test",
],
},
},
}
`);
Expand Down

0 comments on commit b194a66

Please sign in to comment.