Skip to content

Commit 9bd1e5a

Browse files
authored
Update dropdown-form.spec.js
1 parent 38086d3 commit 9bd1e5a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/dropdown/dropdown-form.spec.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ describe('dropdown-form', () => {
2121

2222
it('has class "was-validated" when validated=true', async () => {
2323
const wrapper = mount(BDropdownForm, {
24-
context: {
25-
props: { validated: true }
26-
}
24+
propsData: { validated: true }
2725
})
2826
expect(wrapper.is('li')).toBe(true)
2927

@@ -42,9 +40,7 @@ describe('dropdown-form', () => {
4240

4341
it('has attribute novalidate when novalidate=true', async () => {
4442
const wrapper = mount(BDropdownForm, {
45-
context: {
46-
props: { novalidate: true }
47-
}
43+
propsData: { novalidate: true }
4844
})
4945
expect(wrapper.is('li')).toBe(true)
5046

0 commit comments

Comments
 (0)