Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitccf62a4

Browse files
committed
chore(compat): replace toHaveBeenCalledLastWith with relaxed check
* toHaveBeenCalledLastWith is too strict especially when you arerunning compat Build generating TONS of warnings
1 parentb1f6538 commitccf62a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/components/form-select/form-select-option-group.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('form-select-option-group', () => {
114114
expect($options.at(1).attributes('value')).toBe('2')
115115
expect($options.at(2).attributes('value')).toBe('three')
116116

117-
expect(spyWarn).toHaveBeenLastCalledWith(
117+
expect(spyWarn).toHaveBeenCalledWith(
118118
'[BootstrapVue warn]: BFormSelectOptionGroup - Setting prop "options" to an object is deprecated. Use the array format instead.'
119119
)
120120

‎src/components/form-select/form-select.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ describe('form-select', () => {
559559
expect($options.at(1).attributes('value')).toBe('2')
560560
expect($options.at(2).attributes('value')).toBe('three')
561561

562-
expect(spyWarn).toHaveBeenLastCalledWith(
562+
expect(spyWarn).toHaveBeenCalledWith(
563563
'[BootstrapVue warn]: BFormSelect - Setting prop "options" to an object is deprecated. Use the array format instead.'
564564
)
565565

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp