diff --git a/test/dom/as.mocha.js b/test/dom/as.mocha.js index 5dd46d66..faba190f 100644 --- a/test/dom/as.mocha.js +++ b/test/dom/as.mocha.js @@ -34,7 +34,11 @@ describe('as', function() { expect(fragment).html('
'); }); - it('HTML element `as-object` property', function() { + async function nextTick() { + return new Promise((resolve) => process.nextTick(resolve)); + } + + it('HTML element `as-object` property', async function() { const { app } = runner.createHarness(); app.views.register('Body', '