Skip to content

Commit d1b0b09

Browse files
committed
Update the mock
1 parent b9839b0 commit d1b0b09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/schematics/deploy/actions.jasmine.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ const initMocks = () => {
3838
deploy: (_: FirebaseDeployConfig) => Promise.resolve(),
3939
use: () => Promise.resolve(),
4040
logger: {
41-
add: () => {
41+
add: () => { },
42+
logger: {
43+
add: () => { }
4244
}
4345
},
46+
cli: { version: () => '9.0.0' },
4447
serve: () => Promise.resolve()
4548
};
4649

src/schematics/interfaces.ts

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export interface FirebaseTools {
2222
logger: {
2323
// firebase-tools v8
2424
add: (...args: any[]) => any
25-
} & {
2625
// firebase-tools v9
2726
logger: {
2827
add: (...args: any[]) => any;

0 commit comments

Comments
 (0)