Remove vitest globals (#21505)

Explicitly import them instead which is cleaner and enables better
editor integration.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
authored and GitHub committed 2022-10-19 14:50:19 +08:00
1 parent e27d52b276
commit 37ca4cb7d6
5 files changed
+3 -4

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
import {expect, test} from 'vitest';
import {
basename, extname, isObject, uniq, stripTags, joinPaths, parseIssueHref,
prettyNumber, parseUrl,