Closed divmain closed 1 month ago
An assertion matcher could be used in this way:
await expect(async () => { await renderToMarkup(componentPath, badProps); }).to.throwErrorInConnectedCallback();
However, the following would fail:
await expect(async () => { await renderToMarkup(componentPath, goodProps); }).to.not.throwErrorInConnectedCallback();
The fix allows to.not.throwErrorInConnectedCallback to be used successfully.
to.not.throwErrorInConnectedCallback
An assertion matcher could be used in this way:
However, the following would fail:
The fix allows
to.not.throwErrorInConnectedCallback
to be used successfully.