-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfuleffort2: medium (days)freq2: mediumseverity5: regressiontype: bug/fix
Description
Bug Report or Feature Request (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.1.2
node: 6.9.1
os: win32 x64
Repro steps.
- ng new source-maps
- Make a test failing (e.g. app.component.spec.ts expect a wrong title)
- npm test
The log given by the failure.
Chrome 58.0.3029 (Windows 10 0.0.0) AppComponent should have as title 'app' FAILED
Expected 'app' to equal 'app2'.
at Object.<anonymous> (http://localhost:9876/_karma_webpack_/main.bundle.js:89:27)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/polyfills.bundle.js:2800:26)
at AsyncTestZoneSpec.webpackJsonp.../../../../zone.js/dist/async-test.js.AsyncTestZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/vendor.bundle.js:2643:39)
at ProxyZoneSpec.webpackJsonp.../../../../zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/vendor.bundle.js:3406:39)
Chrome 58.0.3029 (Windows 10 0.0.0): Executed 2 of 3 (1 FAILED) (0 secs / 0.154 secs)
Chrome 58.0.3029 (Windows 10 0.0.0) AppComponent should have as title 'app' FAILED
Expected 'app' to equal 'app2'.
at Object.<anonymous> (http://localhost:9876/_karma_webpack_/main.bundle.js:89:27)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (http://localhost:9876/_karma_webpack_/polyfills.bundle.js:2800:26)
at AsyncTestZoneSpec.webpackJsonp.../../../../zone.js/dist/async-test.js.AsyncTestZoneSpec.onInvoke (http://localhost:9876/_karma_webpack_/vendor.bundle.js:2643:39)
at ProxyZoneSpec.webpackJsonp.../../../../zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke (http://localhost:987Chrome 58.0.3029 (Windows 10 0.0.0): Executed 3 of 3 (1 FAILED) (0.204 secs / 0.191 secs)
Desired functionality.
The output should show the line number of the typescript file instead of the bundle.
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfuleffort2: medium (days)freq2: mediumseverity5: regressiontype: bug/fix