feat(zone): add support for long stack traces

This commit is contained in:
vsavkin
2014-12-11 11:36:05 -08:00
parent d5fcac4d7a
commit df21c3c77d
14 changed files with 283 additions and 49 deletions

View File

@ -54,7 +54,7 @@ export function main() {
describe('bootstrap factory method', () => {
it('should throw if no element is found', (done) => {
var injectorPromise = bootstrap(HelloRootCmp);
var injectorPromise = bootstrap(HelloRootCmp, [], (e,t) => {throw e;});
PromiseWrapper.then(injectorPromise, null, (reason) => {
expect(reason.message).toContain(
'The app selector "hello-app" did not match any elements');