You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modify generated app.component.spec.ts line 23 to force an error. E.g. expect(app.title).toEqual('forcebug');
ng test
Note the useless stacktrace this gives no clue about the source code responible for the bug.
The log given by the failure.
Expected 'app' to equal 'forcebug'.
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:2801: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)
C
Desired functionality.
Stacktrace should report app.component.ts:23 as part of the stacktrace (ideally at the top).
The text was updated successfully, but these errors were encountered:
Bug Report or Feature Request (mark with an
x
)Versions.
ng 1.2
Repro steps.
ng new tst
modify generated app.component.spec.ts line 23 to force an error. E.g.
expect(app.title).toEqual('forcebug');
ng test
Note the useless stacktrace this gives no clue about the source code responible for the bug.
The log given by the failure.
C
Desired functionality.
Stacktrace should report app.component.ts:23 as part of the stacktrace (ideally at the top).
The text was updated successfully, but these errors were encountered: