Skip to content

Commit

Permalink
fix(lit-override): install playwright as dev dep, fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed May 13, 2024
1 parent fd48f8d commit 1fb1994
Show file tree
Hide file tree
Showing 3 changed files with 1,916 additions and 1,455 deletions.
1 change: 1 addition & 0 deletions packages/lit-override/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"jest-config": "workspace:*",
"lit": "3.1.2",
"lit-html": "3.1.2",
"playwright": "1.44.0",
"rimraf": "5.0.5",
"sinon": "17.0.1",
"tsconfig-config": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('lit-override', () => {
it('emits connected-callback event when emitConnectedCallback is true', async () => {
const el = await fixture<LitOverride>(html`<lit-override emitConnectedCallback></lit-override>`);
setTimeout(() => el.connectedCallback());
const ev = await oneEvent(el, 'connected-callback', true);
const ev = await oneEvent(el, 'connected-callback');
expect(ev).to.exist;
});
});
Loading

0 comments on commit 1fb1994

Please sign in to comment.