Skip to content

Commit

Permalink
try moving init
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseditson committed Sep 13, 2024
1 parent 8799c38 commit fda82a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ describe("mount", () => {
initUI = cre8([InitError], {
document: dom.window.document,
});
upd8 = initUI({}, (event) => {});
});
after(() => {
initUI.teardown();
Expand All @@ -153,6 +152,7 @@ describe("mount", () => {
test("it emits a helpful error message when a listener fails to mount", async () => {
rejects(
async () => {
upd8 = initUI({}, (event) => {});
await upd8({});
},
{
Expand Down

0 comments on commit fda82a8

Please sign in to comment.