We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 000c639 + 59c5b86 commit 41ae281Copy full SHA for 41ae281
lib/after-prepare.ts
@@ -23,7 +23,7 @@ module.exports = function (hookArgs, $injector, $testExecutionService) {
23
packageJson = JSON.parse(fs.readFileSync(packageJsonPath).toString());
24
25
// When test command is used in ns-cli, we should change the entry point of the application
26
- packageJson.main = "./tns_modules/nativescript-unit-test-runner/app.js";
+ packageJson.main = "./tns_modules/nativescript-unit-test-runner/app/app.js";
27
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson));
28
}
29
0 commit comments