Skip to content

Commit 20bf46f

Browse files
committed
test: add missing injections
1 parent cfb80a2 commit 20bf46f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/project-service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ describe("projectService", () => {
3131
testInjector.register("fs", {
3232
exists: () => true,
3333
isEmptyDir: () => true,
34+
isRelativePath: () => true,
3435
createDirectory: () => {},
3536
writeJson: () => {},
3637
deleteDirectory: () => {},

test/services/project-data-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ const createTestInjector = (
8282
/** intentionally left blank */
8383
},
8484

85+
isRelativePath: () => true,
86+
8587
readText: (
8688
filename: string,
8789
encoding?: IReadFileOptions | string

0 commit comments

Comments
 (0)