We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04083bf commit bd3c976Copy full SHA for bd3c976
test/register.ts
@@ -73,13 +73,13 @@ describe('register', () => {
73
74
it('automatically drops the `Controller` suffix', () => {
75
@register
76
- class SecondSuffixController {}
+ class SecondSuffixController extends HTMLElement {}
77
expect(window.customElements.get('second-suffix')).to.equal(SecondSuffixController)
78
})
79
80
it('automatically drops the `Component` suffix', () => {
81
82
- class ThirdSuffixComponent {}
+ class ThirdSuffixComponent extends HTMLElement {}
83
expect(window.customElements.get('third-suffix')).to.equal(ThirdSuffixComponent)
84
85
0 commit comments