Skip to content

Commit 7ad4c2b

Browse files
committed
test: replace Jest/Chai with built-in Node.js test runner
1 parent 2c10d2f commit 7ad4c2b

17 files changed

+3014
-4586
lines changed

.codecov.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ignore:
2+
- 'test'
3+
4+
coverage:
5+
status:
6+
project:
7+
default:
8+
target: '100%'
9+
threshold: '10%'

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ jobs:
1313
with:
1414
node-version: 20
1515

16-
- run: npm i -g npm@9 --registry=https://registry.npmjs.org
16+
- run: npm i -g npm@10 --registry=https://registry.npmjs.org
1717
- run: npm ci
18-
- run: npm test
19-
- run: npm run build
18+
- run: npm run ci
2019

2120
- uses: codecov/codecov-action@v3
2221
with:
23-
files: ./coverage/lcov.info
22+
files: ./lcov.info
2423
fail_ci_if_error: false
2524
verbose: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
lcov.info
12
npm-debug.log
23
.idea/
3-
coverage/
44
dist/
55
node_modules/

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
save-prefix='~'
2+
save-exact=true

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
## 8.0.2 (2024-??-??)
1+
## 8.0.2 (2024-02-18)
22

3-
- build is now run with Node v20
3+
- pipelines now run with Node.js v20 and npm@10
44
- no longer fail the build if the upload to Codecov failed
55
- dependencies are now pinned
6+
- replace `tsx` with `ts-node`
7+
- use built-in Node.js test runner instead of Jest and Chai
8+
- add signature validation to audit check
9+
- add linting for `package.json`
610

711
## 8.0.1 (2023-08-17)
812

jest.config.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)