diff --git a/test/unit/engine_runtime.js b/test/unit/engine_runtime.js index 26ffe8c87..741ab9c3f 100644 --- a/test/unit/engine_runtime.js +++ b/test/unit/engine_runtime.js @@ -246,7 +246,7 @@ test('Disposing the runtime emits an event', t => { rt.addListener('RUNTIME_DISPOSED', () => { disposed = true; }); - rt.start(); + rt.dispose(); t.equal(disposed, true); t.end(); });