Skip to content

Conversation

@rosen-vladimirov
Copy link
Contributor

Fix unit test runner by adding after-prepare hook.
Also add Gruntfile, definitions and compilation of TypeScript.

Check each commit's message for more details.

Related PR: NativeScript/karma-nativescript-launcher#23

Use the new syntax for application.start method, so set minimum required runtime versions to 1.6.0.
Add after-prepare hook that will change the entry point of application in case `test` command is executed.
Use `nativescript-hook` dependency in order to install the hook.
Add tns-core-modules `.d.ts` files from modules 1.6.2.
Add node.d.ts from version 4.2.x
@rosen-vladimirov
Copy link
Contributor Author

ping @ligaz , @teobugslayer , @hdeshev , @Mitko-Kerezov

* Add Gruntfile.js with some tasks for compilation
* Add TypeScript as devDependency
* Modify node.d.ts to match NativeScript
* Fix import in app.ts
* Unignore Gruntfile and ignore .d.ts
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/fix-unit-test-runner branch from d46a9b1 to 0b2b6be Compare February 25, 2016 13:51
@teobugslayer
Copy link

👍

rosen-vladimirov added a commit that referenced this pull request Feb 26, 2016
@rosen-vladimirov rosen-vladimirov merged commit 6c6d900 into master Feb 26, 2016
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-unit-test-runner branch February 26, 2016 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants