Skip to content

Commit 0c8bc50

Browse files
committed
chore: fix unit tests
1 parent d82b290 commit 0c8bc50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ function createTestInjector(localPlugins: IStringDictionary, options?: { isNativ
4242
});
4343
injector.register("logger", {
4444
trace: () => ({}),
45-
warn: (message: string) => warnParams.push(message)
45+
warn: (message: string, opts: any) => {
46+
if (!opts || !opts.wrapMessageWithBorders) {
47+
warnParams.push(message);
48+
}
49+
}
4650
});
4751

4852
injector.register("packageInstallationManager", PackageInstallationManagerStub);

0 commit comments

Comments
 (0)