🌐 AI搜索 & 代理 主页
Skip to content

Commit d2e4b91

Browse files
authored
Update toggle.spec.js
1 parent a6ffcfa commit d2e4b91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/directives/toggle/toggle.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ describe('v-b-toggle directive', () => {
197197
await $button.trigger('click')
198198

199199
expect(spy).toHaveBeenCalledTimes(2)
200-
expect(spy).toHaveBeenNthCalledWith(1,'test1')
201-
expect(spy).toHaveBeenNthCalledWith(2,'test2')
200+
expect(spy).toHaveBeenNthCalledWith(1, 'test1')
201+
expect(spy).toHaveBeenNthCalledWith(2, 'test2')
202202
// Since there is no target collapse to respond with the
203203
// current state, the classes and attrs remain the same
204204
expect($button.attributes('aria-controls')).toBe('test1 test2')
@@ -219,7 +219,7 @@ describe('v-b-toggle directive', () => {
219219
await $button.trigger('click')
220220

221221
expect(spy).toHaveBeenCalledTimes(3)
222-
expect(spy).toHaveBeenNthCalledWith(3,'test2')
222+
expect(spy).toHaveBeenNthCalledWith(3, 'test2')
223223
// Since there is no target collapse to respond with the
224224
// current state, the classes and attrs remain the same
225225
expect($button.attributes('aria-controls')).toBe('test2')

0 commit comments

Comments
 (0)