Skip to content

Commit

Permalink
updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bekzod committed Jun 5, 2017
1 parent b20e775 commit 8d99029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ember-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class EmberApp {
// This is a failure mechanism so that node process doesn't get wedged if the `visit` never completes.
timer = setTimeout(()=> {
if (result._destroyAppInstance()) {
reject(new Error('App instance was forcefully destroyed in ' + destroyAppInstanceInMs + 'ms'));
reject(new Error('Fastboot forcefully destroyed App instance in ' + destroyAppInstanceInMs + 'ms'));
}
}, destroyAppInstanceInMs);
}
Expand Down
4 changes: 2 additions & 2 deletions test/fastboot-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ describe("FastBoot", function() {
distPath: fixture('long-resolving-app')
});

fastboot.visit('/', { destroyAppInstanceInMs: 300 })
fastboot.visit('/', { destroyAppInstanceInMs: 5 })
.catch((e) => {
expect(e.message).to.equal('App instance was forcefully destroyed in 300ms');
expect(e.message).to.equal('Fastboot forcefully destroyed App instance in 5ms');
done();
});
});
Expand Down

0 comments on commit 8d99029

Please sign in to comment.