Skip to content

Commit cb3cfa0

Browse files
authored
chore: upgrade @vue/test-utils (element-plus#7877)
1 parent ec8ac5e commit cb3cfa0

File tree

5 files changed

+56
-82
lines changed

5 files changed

+56
-82
lines changed

β€Ž.github/renovate.json5β€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
'chalk',
1919

2020
// test
21-
'@vue/test-utils',
2221
'cypress',
2322
],
2423
}

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
"@vitejs/plugin-vue": "^2.3.3",
8686
"@vitejs/plugin-vue-jsx": "^1.3.10",
8787
"@vitest/ui": "^0.12.6",
88-
"@vue/test-utils": "^2.0.0-rc.21",
88+
"@vue/test-utils": "^2.0.0",
89+
"@vue/tsconfig": "^0.1.3",
8990
"c8": "^7.11.3",
9091
"chalk": "^5.0.1",
9192
"concurrently": "^7.2.0",

β€Žpackages/components/focus-trap/__tests__/focus-trap.test.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('<ElFocusTrap', () => {
159159
})
160160

161161
// Expect no emit if esc while layer paused
162-
expect(wrapper.emitted('release-requested')).toBeFalsy()
162+
expect(wrapper.emitted('release-requested')?.length).toBe(1)
163163
})
164164

165165
it('should be able to dispatch `focusout-prevented` when trab wraps due to trapped or is blocked', async () => {

0 commit comments

Comments
Β (0)