Skip to content

Commit 7236efa

Browse files
committed
chore: fix unit tests
1 parent d57b574 commit 7236efa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/services/playground/preview-app-files-service.ts

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ function createTestInjector(data?: { files: string[] }) {
3636
injector.register("projectFilesManager", {
3737
getProjectFiles: () => data ? data.files : []
3838
});
39+
injector.register("projectFilesProvider", {
40+
getProjectFileInfo: (filePath: string, platform: string) => {
41+
return {
42+
filePath,
43+
shouldIncludeFile: true
44+
};
45+
}
46+
});
3947
return injector;
4048
}
4149

0 commit comments

Comments
 (0)