[FIX] test: missing await

This commit is contained in:
Aaron Bohy
2020-03-03 09:21:31 +01:00
committed by Géry Debongnie
parent f5d019bb69
commit 718e5264ae
+1
View File
@@ -1384,6 +1384,7 @@ describe("async rendering", () => {
expect(fixture.innerHTML).toBe("<span>3</span>");
parent.state.value = 4; // update value after a tick
await nextTick();
expect(fixture.innerHTML).toBe("<span>4</span>");
});