Updated unit-tests

This commit is contained in:
DaanV2
2023-02-19 18:21:16 +01:00
parent e0b9bbd0ee
commit f9feac3224
2 changed files with 14 additions and 3 deletions

View File

@@ -76,3 +76,11 @@ jobs:
- name: 📋 Test
run: npm test
- name: 📋 Test Reporter
if: ${{ always() }}
uses: dorny/test-reporter@v1
with:
name: 📋 Unit Test
reporter: jest-junit
path: "**/junit.xml"

View File

@@ -1,6 +1,9 @@
{
"ui": "bdd",
"color": true,
"spec": "./lib",
"recursive": true
"extension": ["ts"],
"ui": "bdd",
"recursive": true,
"require": "ts-node/register",
"reporter": "mocha-junit-reporter",
"reporterOptions": ["mochaFile=./reports/junit.xml"]
}