Skip to content

Commit ca16b1d

Browse files
committed
maint(core events test): Remove unused test.
1 parent 09e99cd commit ca16b1d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/core/events.test.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -133,22 +133,6 @@ describe("core.events tests", () => {
133133
// catched.
134134
expect(true).toBe(true);
135135
});
136-
137-
it("Handles double-registration attempts by rejecting the await_pattern_init promise.", async () => {
138-
class Pat extends BasePattern {
139-
static name = "tmp";
140-
static trigger = ".pat-tmp";
141-
init() {}
142-
}
143-
144-
const el = document.createElement("div");
145-
const instance = new Pat(el);
146-
147-
await events.await_pattern_init(instance);
148-
149-
// If test reaches this expect statement, all is fine.
150-
expect(true).toBe(true);
151-
});
152136
});
153137

154138
describe("2 - event factories", () => {

0 commit comments

Comments
 (0)