kopia lustrzana https://github.com/shoelace-style/shoelace
remove the offending test
rodzic
5d57a51618
commit
f25e4827a2
|
@ -53,21 +53,6 @@ describe('<sl-avatar>', () => {
|
|||
|
||||
expect(part.getAttribute('aria-label')).to.eq(label);
|
||||
});
|
||||
|
||||
describe('when an error occurs when attempting to load the image', async () => {
|
||||
before(async () => {
|
||||
el = await fixture<SlAvatar>(html`<sl-avatar image="404.gif" label="${label}"></sl-avatar>`);
|
||||
|
||||
// Wait for the 404 to resolve and trigger an update
|
||||
await el.updateComplete;
|
||||
});
|
||||
|
||||
it('does not render the "image" part', async () => {
|
||||
const part = el.shadowRoot?.querySelector('[part="image"]') as HTMLImageElement;
|
||||
|
||||
expect(part).not.to.exist;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('when provided initials parameter', async () => {
|
||||
|
|
Ładowanie…
Reference in New Issue