Skip to content

Commit 6d9e2a0

Browse files
committed
tests(fix missing assertion calls)
1 parent 5bcc4c2 commit 6d9e2a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/bind.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test('class attribute bindings are added by array syntax', async () => {
159159

160160
Alpine.start()
161161

162-
expect(document.querySelector('span').classList.contains('foo')).toBeTruthy
162+
expect(document.querySelector('span').classList.contains('foo')).toBeTruthy()
163163
})
164164

165165
test('class attribute bindings are synced by string syntax', async () => {
@@ -171,8 +171,8 @@ test('class attribute bindings are synced by string syntax', async () => {
171171

172172
Alpine.start()
173173

174-
expect(document.querySelector('span').classList.contains('bar')).toBeTruthy
175-
expect(document.querySelector('span').classList.contains('baz')).toBeTruthy
174+
expect(document.querySelector('span').classList.contains('bar')).toBeTruthy()
175+
expect(document.querySelector('span').classList.contains('baz')).toBeTruthy()
176176
})
177177

178178
test('boolean attributes set to false are removed from element', async () => {

0 commit comments

Comments
 (0)