mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
update tests
This commit is contained in:
@@ -15,9 +15,7 @@ describe('<wa-callout>', () => {
|
||||
await customElements.whenDefined('wa-callout');
|
||||
await callout.updateComplete;
|
||||
|
||||
const base = callout.shadowRoot!.querySelector<HTMLElement>('[part="base"]')!;
|
||||
|
||||
expect(base).to.have.class(`callout--${variant}`);
|
||||
expect(callout).to.have.attribute('variant', variant);
|
||||
|
||||
// @TODO: For some reason this fails only in CI. I have no clue why. I tested this scenario on the real site, and it works as expected. [Konnor]
|
||||
if (fixture.type === 'ssr-client-hydrated') {
|
||||
|
||||
Reference in New Issue
Block a user