Title: Jasmine tests stacktrace useless - does not show source .ts files and line numbers · Issue #6943 · angular/angular-cli · GitHub
Open Graph Title: Jasmine tests stacktrace useless - does not show source .ts files and line numbers · Issue #6943 · angular/angular-cli
X Title: Jasmine tests stacktrace useless - does not show source .ts files and line numbers · Issue #6943 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. ng 1.2 Repro steps. ng new tst modify generated app.component.spec.ts line 23 to force an error. E...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. ng 1.2 Repro steps. ng new tst modify generated app.compon...
X Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. ng 1.2 Repro steps. ng new tst modify generated app.com...
Opengraph URL: https://github.com/angular/angular-cli/issues/6943
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Jasmine tests stacktrace useless - does not show source .ts files and line numbers","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x ] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\nng 1.2\r\n\r\n### Repro steps.\r\n`ng new tst`\r\n\r\nmodify generated app.component.spec.ts line 23 to force an error. E.g.\r\n` expect(app.title).toEqual('forcebug');`\r\n\r\n`ng test`\r\n\r\nNote the useless stacktrace this gives no clue about the source code responible for the bug.\r\n\r\n### The log given by the failure.\r\n\r\n Expected 'app' to equal 'forcebug'.\r\n at Object.\u003canonymous> (http://localhost:9876/_karma_webpack_/main.bundle.js:89:27)\r\n at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/polyfills.bundle.js:2801:26)\r\n at AsyncTestZoneSpec.webpackJsonp.../../../../zone.js/dist/async-test.js.AsyncTestZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/vendor.bundle.js:2643:39)\r\n at ProxyZoneSpec.webpackJsonp.../../../../zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/vendor.bundle.js:3406:39)\r\nC\r\n\r\n\r\n### Desired functionality.\r\n\r\nStacktrace should report app.component.ts:23 as part of the stacktrace (ideally at the top).\r\n\r\n\r\n","author":{"url":"https://github.com/xnnkmd","@type":"Person","name":"xnnkmd"},"datePublished":"2017-07-11T11:20:54Z","url":"https://github.com/angular/angular-cli/issues/6943"}
| 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:cde8606c-e528-bb48-03df-6c5088b9f57c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C872:2F543F:C70984:1081860:6B01C7D8 |
| html-safe-nonce | bee3aa2d475acbd2084686f0bc557355db0082580de08cf4042ae391cf6b17f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODcyOjJGNTQzRjpDNzA5ODQ6MTA4MTg2MDo2QjAxQzdEOCIsInZpc2l0b3JfaWQiOiIzOTAzMTI5NjQ0NjA1NDkxMTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c826dd3a67d06dd4d3dced5b6ea7e9c0327da304bb8b6adaedb58f8cdd73529e |
| hovercard-subject-tag | issue:242012893 |
| 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/angular/angular-cli/6943/issue_layout |
| twitter:image | https://opengraph.githubassets.com/602cbf67e614def2cf4b9a61223c4401273a77dfa91090cd4d05533804e94b90/angular/angular-cli/issues/6943 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/602cbf67e614def2cf4b9a61223c4401273a77dfa91090cd4d05533804e94b90/angular/angular-cli/issues/6943 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. ng 1.2 Repro steps. ng new tst modify generated app.compon... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xnnkmd |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-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