Skip to content

Commit

Permalink
chore: Simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
clepski committed Aug 2, 2024
1 parent 8b474ea commit 8fbe81b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ describe('compas-foundation', () => {
layout!.dispatchEvent(newUserInfoEvent('Henk'));
await layout!.updateComplete;

const userInfo = layout?.shadowRoot?.querySelector("#userField");
expect(userInfo).to.be.not.null;

expect(layout!.shadowRoot!.querySelector('span[id="userField"]')!.textContent).to.be.equal('Logged in as Henk');
});
});

0 comments on commit 8fbe81b

Please sign in to comment.