Skip to content

Commit

Permalink
Update the mock
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdaniels committed May 18, 2021
1 parent b9839b0 commit d1b0b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/schematics/deploy/actions.jasmine.ts
Expand Up @@ -38,9 +38,12 @@ const initMocks = () => {
deploy: (_: FirebaseDeployConfig) => Promise.resolve(),
use: () => Promise.resolve(),
logger: {
add: () => {
add: () => { },
logger: {
add: () => { }
}
},
cli: { version: () => '9.0.0' },
serve: () => Promise.resolve()
};

Expand Down
1 change: 0 additions & 1 deletion src/schematics/interfaces.ts
Expand Up @@ -22,7 +22,6 @@ export interface FirebaseTools {
logger: {
// firebase-tools v8
add: (...args: any[]) => any
} & {
// firebase-tools v9
logger: {
add: (...args: any[]) => any;
Expand Down

0 comments on commit d1b0b09

Please sign in to comment.