1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-14 01:24:19 +02:00

tests: tweak Jasmine usage (#32046)

* jasmine/expect-matcher
* jasmine/prefer-jasmine-matcher

Found with `eslint-plugin-jasmine`
This commit is contained in:
XhmikosR
2020-11-02 16:13:24 +02:00
committed by GitHub
parent e2697b0573
commit c9f8fa45fb
4 changed files with 9 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ describe('Manipulator', () => {
describe('getDataAttributes', () => {
it('should return empty object for null', () => {
expect(Manipulator.getDataAttributes(null), {})
expect(Manipulator.getDataAttributes(null)).toEqual({})
expect().nothing()
})