Skip to content

Commit 67726b9

Browse files
committed
test(unit): switch from mocha to vitest
1 parent 5fe8ff2 commit 67726b9

15 files changed

+8100
-5314
lines changed

.c8rc.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
{"reporter":["lcov","text-summary","html"],"exclude":["src/**/*-test.js","test/","thirdparty-wrappers/","vendor/"]}
1+
{
2+
"reporter": [
3+
"lcov",
4+
"text-summary",
5+
"html"
6+
],
7+
"exclude": [
8+
"src/**/*-test.js",
9+
"src/**/*.test.js",
10+
"test/",
11+
"thirdparty-wrappers/",
12+
"vendor/"
13+
]
14+
}

.eslintrc.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
root: true
22
extends:
33
- '@form8ion'
4-
- '@form8ion/mocha'
54
- '@form8ion/cucumber'
5+
6+
overrides:
7+
- files: ./vitest.config.js
8+
rules:
9+
import/no-unresolved: off

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
/lib/
33
/coverage/
44

5-
.eslintcache
5+
.eslintcache
6+
7+
.idea
8+
!.idea/
9+
.idea/*
10+
!.idea/runConfigurations/

.mocharc.json

-1
This file was deleted.

0 commit comments

Comments
 (0)