Open ZachPerkitny opened 2 years ago
Maybe related to https://github.com/NativeScript/nativescript-cli/issues/4182
Also experiencing this issue, same env except using mocha instead of jasmine.
I found the cause of this problem for me was running the test under a network proxy, which prevented the context.json files from loading. Disabling the proxy fixed the error. Upgrading to unit-test-runner 3.0.4 revealed the context.json error in the console.
Environment
Describe the bug
I initalized tests using
tns test init
using jasmine. After runningtns test android
, in the browser the header showstest: loading
and it doesn't appear to load any test files in the network tab. The mobile app that's launched on my emulator shows no tests. I did not make any modifications to the version of the dependencies or to the generatedkarma.conf.js
. There were no errors in the logs.To Reproduce
Run
tns test init
and select jasmine Runtns test android
, it launches the app with no tests displayed. In the browser, it displaystest:loading
Expected behavior My unit tests to be displayed and their status.