Skip to content

Commit 550c8a8

Browse files
committed
Fix getUrl for tests
1 parent e9be9ad commit 550c8a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,11 @@ var getUrl = function(dest) {
992992
return new URL(dest, new URL(baseUrl)).toString();
993993
}
994994

995+
log.info(`hey!!! ${app.getAppPath()}`);
996+
if ( testMode ) {
997+
return `file://${app.getAppPath()}/${dest}`;
998+
}
999+
9951000
return `file://${app.getAppPath()}/output/${dest}`;
9961001
};
9971002

0 commit comments

Comments
 (0)