You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
The elements-sk are difficult to test with karma, see for example: karma-runner/karma#412
The problem is that you can't undefine an element. The solution is to use our own function that only calls window.customElements.define() if the tag hasn't yet been defined. That has the possibility of covering up real errors, such as two different definitions for the same tag name, so a console.log error message should be generated on each such conflict, but define() should never throw in the case of a conflict.
The text was updated successfully, but these errors were encountered:
The elements-sk are difficult to test with karma, see for example: karma-runner/karma#412
The problem is that you can't undefine an element. The solution is to use our own function that only calls window.customElements.define() if the tag hasn't yet been defined. That has the possibility of covering up real errors, such as two different definitions for the same tag name, so a console.log error message should be generated on each such conflict, but define() should never throw in the case of a conflict.
The text was updated successfully, but these errors were encountered: