summaryrefslogtreecommitdiffstats
path: root/web_src/js/svg.test.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-10-19 08:50:19 +0200
committerGitHub <noreply@github.com>2022-10-19 14:50:19 +0800
commit37ca4cb7d61c0460d5d8e3dce35964ffc72a9f9d (patch)
tree0b4e887e815eee5e4b30e445d6055b0b3b0ca878 /web_src/js/svg.test.js
parente27d52b2766ba83e583940401a8f20c3b2a7ff5e (diff)
downloadgitea-37ca4cb7d61c0460d5d8e3dce35964ffc72a9f9d.tar.gz
gitea-37ca4cb7d61c0460d5d8e3dce35964ffc72a9f9d.zip
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>
Diffstat (limited to 'web_src/js/svg.test.js')
-rw-r--r--web_src/js/svg.test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/js/svg.test.js b/web_src/js/svg.test.js
index 9f2836b667..c5d6d07535 100644
--- a/web_src/js/svg.test.js
+++ b/web_src/js/svg.test.js
@@ -1,3 +1,4 @@
+import {expect, test} from 'vitest';
import {svg} from './svg.js';
test('svg', () => {