Nativescript-cli: Respect files property from karma.config on `tns test --bundle`

Created on 8 Apr 2019  路  3Comments  路  Source: NativeScript/nativescript-cli

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):

  • CLI:
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime:
  • Plugin(s):

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

feature unit testing

Most helpful comment

@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.

All 3 comments

Is this still an issue?

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

@Fedelaus,

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

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

charsleysa picture charsleysa  路  3Comments

ZMW9 picture ZMW9  路  3Comments

donker picture donker  路  3Comments

kefahB picture kefahB  路  3Comments

NickIliev picture NickIliev  路  3Comments