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

Commit97312e7

Browse files
committed
chore: use vitest globals instead of imports in tests
1 parentca238e0 commit97312e7

24 files changed

+1
-24
lines changed

‎eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default typegen([
7777
globals:{
7878
...globals.es6,
7979
...globals.node,
80-
...globals.mocha
80+
...globals.vitest
8181
}
8282
},
8383
linterOptions:{

‎tests/integrations/eslint-plugin-import.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{beforeAll,describe,it}from"vitest";
21
/**
32
*@author Toru Nagashima <https://github.com/mysticatea>
43
*@copyright 2017 Toru Nagashima. All rights reserved.

‎tests/integrations/flat-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{beforeAll,describe,it}from"vitest";
21
'use strict'
32

43
const{strict:assert}=require('assert')

‎tests/lib/autofix.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
/**
32
*@author Yosuke Ota <https://github.com/ota-meshi>
43
* See LICENSE file in root directory for full license.

‎tests/lib/configs/eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
'use strict'
32

43
const{ ESLint}=require('../../eslint-compat')

‎tests/lib/configs/flat.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
/**
32
*@fileoverview flat configs test
43
*@author 唯然<weiran.zsd@outlook.com>

‎tests/lib/meta.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
'use strict'
32

43
constassert=require('assert')

‎tests/lib/rules-without-vue-eslint-parser.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
/**
32
*@author Toru Nagashima <https://github.com/mysticatea>
43
* See LICENSE file in root directory for full license.

‎tests/lib/rules-without-vue-sfc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
/**
32
*@author Yosuke Ota <https://github.com/ota-meshi>
43
* See LICENSE file in root directory for full license.

‎tests/lib/rules/block-order.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import{describe,it}from"vitest";
21
/**
32
*@author Yosuke Ota
43
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp