Updated unit-tests
This commit is contained in:
8
.github/workflows/pull-request.yml
vendored
8
.github/workflows/pull-request.yml
vendored
@@ -76,3 +76,11 @@ jobs:
|
|||||||
|
|
||||||
- name: 📋 Test
|
- name: 📋 Test
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
|
- name: 📋 Test Reporter
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: dorny/test-reporter@v1
|
||||||
|
with:
|
||||||
|
name: 📋 Unit Test
|
||||||
|
reporter: jest-junit
|
||||||
|
path: "**/junit.xml"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"ui": "bdd",
|
|
||||||
"color": true,
|
"color": true,
|
||||||
"spec": "./lib",
|
"extension": ["ts"],
|
||||||
"recursive": true
|
"ui": "bdd",
|
||||||
|
"recursive": true,
|
||||||
|
"require": "ts-node/register",
|
||||||
|
"reporter": "mocha-junit-reporter",
|
||||||
|
"reporterOptions": ["mochaFile=./reports/junit.xml"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user