Skip to content

Commit 8d99029

Browse files
committed
updated error message
1 parent b20e775 commit 8d99029

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ember-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class EmberApp {
237237
// This is a failure mechanism so that node process doesn't get wedged if the `visit` never completes.
238238
timer = setTimeout(()=> {
239239
if (result._destroyAppInstance()) {
240-
reject(new Error('App instance was forcefully destroyed in ' + destroyAppInstanceInMs + 'ms'));
240+
reject(new Error('Fastboot forcefully destroyed App instance in ' + destroyAppInstanceInMs + 'ms'));
241241
}
242242
}, destroyAppInstanceInMs);
243243
}

test/fastboot-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ describe("FastBoot", function() {
106106
distPath: fixture('long-resolving-app')
107107
});
108108

109-
fastboot.visit('/', { destroyAppInstanceInMs: 300 })
109+
fastboot.visit('/', { destroyAppInstanceInMs: 5 })
110110
.catch((e) => {
111-
expect(e.message).to.equal('App instance was forcefully destroyed in 300ms');
111+
expect(e.message).to.equal('Fastboot forcefully destroyed App instance in 5ms');
112112
done();
113113
});
114114
});

0 commit comments

Comments
 (0)