mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
tests: tweak Jasmine's matchers usage
Use: * toBeNull * toEqual * toBeTrue * toBeFalse * toHaveSize * toHaveClass
This commit is contained in:
@@ -49,7 +49,7 @@ describe('jQuery', () => {
|
||||
|
||||
$(fixtureEl).find('.alert')
|
||||
.one('closed.bs.alert', () => {
|
||||
expect($(fixtureEl).find('.alert').length).toEqual(0)
|
||||
expect($(fixtureEl).find('.alert')).toHaveSize(0)
|
||||
done()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user