Skip to content

Commit

Permalink
test: Fix expected element instance in test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmilton committed Nov 29, 2024
1 parent 7bff8a7 commit d3f416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ describe('collect', () => {
expect(refs.e.nodeName).toEqual('A');
expect(refs.e).toBeInstanceOf(window.HTMLAnchorElement);
expect(refs.f.nodeName).toEqual('MAIN');
expect(refs.f).toBeInstanceOf(window.HTMLDivElement);
expect(refs.f).toBeInstanceOf(window.HTMLElement);
expect(refs.g.nodeName).toEqual('H1');
expect(refs.g).toBeInstanceOf(window.HTMLHeadingElement);
expect(refs.h.nodeName).toEqual('P');
Expand Down

0 comments on commit d3f416d

Please sign in to comment.