Skip to content

Commit 41ae281

Browse files
authored
Merge pull request #42 from NativeScript/fatme/fix-non-bundle-workflow
fix: fix legacy workflow with CLI < 5.4.2 and next version of `nativescript-unit-test-runner`
2 parents 000c639 + 59c5b86 commit 41ae281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/after-prepare.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function (hookArgs, $injector, $testExecutionService) {
2323
packageJson = JSON.parse(fs.readFileSync(packageJsonPath).toString());
2424

2525
// 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";
26+
packageJson.main = "./tns_modules/nativescript-unit-test-runner/app/app.js";
2727
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson));
2828
}
2929
}

0 commit comments

Comments
 (0)