Title: Running tns test android does not detect tests and is stuck in `test: loading; ` · Issue #5607 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Running tns test android does not detect tests and is stuck in `test: loading; ` · Issue #5607 · NativeScript/nativescript-cli
X Title: Running tns test android does not detect tests and is stuck in `test: loading; ` · Issue #5607 · NativeScript/nativescript-cli
Description: Environment CLI: 8.1.4 karma: 6.3.7 karma-jasmine: 4.0.1 karma-webpack: 5.0.0 karma-nativescript-launcher: ~2.9.0 Describe the bug I initalized tests using tns test init using jasmine. After running tns test android, in the browser the h...
Open Graph Description: Environment CLI: 8.1.4 karma: 6.3.7 karma-jasmine: 4.0.1 karma-webpack: 5.0.0 karma-nativescript-launcher: ~2.9.0 Describe the bug I initalized tests using tns test init using jasmine. After runnin...
X Description: Environment CLI: 8.1.4 karma: 6.3.7 karma-jasmine: 4.0.1 karma-webpack: 5.0.0 karma-nativescript-launcher: ~2.9.0 Describe the bug I initalized tests using tns test init using jasmine. After runnin...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/5607
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running tns test android does not detect tests and is stuck in `test: loading; `","articleBody":"**Environment**\r\n - CLI: 8.1.4\r\n - karma: 6.3.7\r\n - karma-jasmine: 4.0.1\r\n - karma-webpack: 5.0.0\r\n - karma-nativescript-launcher: ~2.9.0\r\n\r\n**Describe the bug**\r\n\u003c!-- A clear and concise description of what the bug is. Please, explain whether it's a build time error or a runtime error. More detailed logs can be easily obtained by following the instructions in this guide: https://docs.nativescript.org/get-support#how-to-obtain-diagnostic-reports. -->\r\nI initalized tests using `tns test init` using jasmine. After running `tns test android`, in the browser the header shows `test: 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 generated `karma.conf.js`. There were no errors in the logs.\r\n\r\n**To Reproduce**\r\n\u003c!-- Add commands used or steps taken to reproduce the behaviour. -->\r\nRun `tns test init` and select jasmine\r\nRun `tns test android`, it launches the app with no tests displayed. In the browser, it displays `test:loading`\r\n\r\n**Expected behavior**\r\nMy unit tests to be displayed and their status.\r\n","author":{"url":"https://github.com/ZachPerkitny","@type":"Person","name":"ZachPerkitny"},"datePublished":"2021-11-05T17:52:43Z","url":"https://github.com/NativeScript/nativescript-cli/issues/5607"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b48eef9-4209-003d-8f4a-3e4812964fa3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A50:3D97C8:284A0DB:35A6682:6B01B26E |
| html-safe-nonce | a0eef9b213b720d3bfb8694fd783809688f6361aaf49870330926ebbd1d33797 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTUwOjNEOTdDODoyODRBMERCOjM1QTY2ODI6NkIwMUIyNkUiLCJ2aXNpdG9yX2lkIjoiMTA1MTM2NDU4NjYyMTYxMjY1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bca6531105c0fa90f65b7ad762c9558bba0124ebc10bd22ac82d5c8af5a82a6 |
| hovercard-subject-tag | issue:1046098766 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/5607/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9921806ee741b3772d4baab0349985c555712566a074ebfe05c433758849f7ed/NativeScript/nativescript-cli/issues/5607 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9921806ee741b3772d4baab0349985c555712566a074ebfe05c433758849f7ed/NativeScript/nativescript-cli/issues/5607 |
| og:image:alt | Environment CLI: 8.1.4 karma: 6.3.7 karma-jasmine: 4.0.1 karma-webpack: 5.0.0 karma-nativescript-launcher: ~2.9.0 Describe the bug I initalized tests using tns test init using jasmine. After runnin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZachPerkitny |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width