Skip to content

Commit 49c486f

Browse files
koddssonkeithamus
andauthored
Convert async test to synchronous test.
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
1 parent fcb8755 commit 49c486f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/controller.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,13 @@ describe('controller', () => {
7777
expect(instance.foo).to.have.been.called(1)
7878
})
7979

80-
it('upgrades child decendants when connected', done => {
80+
it('upgrades child decendants when connected', () => {
8181
controller(class ChildElementElement extends HTMLElement {})
8282
controller(
8383
class ParentElementElement extends HTMLElement {
8484
connectedCallback() {
8585
const child = this.querySelector('child-element')
8686
expect(child.matches(':defined')).to.equal(true)
87-
done()
8887
}
8988
}
9089
)

0 commit comments

Comments
 (0)