NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

Respect files property from karma.config on `tns test --bundle` #4509

Open Fatme opened 5 years ago

Fatme commented 5 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug

Currently files property from karma.config is not respected on test command with bundle

To Reproduce

Expected behavior

Sample project

Additional context

Oatelaus commented 5 years ago

Is this still an issue?

Getting a lot of conflicting information around unit testing right now.

Fatme commented 5 years ago

@Fedelaus,

Yes, it is still an issue. Currently test command respects only files from tests folder.

chorsnell commented 5 years ago

@Fatme @rosen-vladimirov can we get an update on this and why its been removed from the 6.0.0 release please?

This is something really important to our organisations use of NS and as @Fedelaus says there's been a lot of obfuscation and struggle around unit tests for a while.