Skip to content

Commit

Permalink
Merge pull request #58 from ponbike/feature/updates
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
apiest-pon authored Feb 9, 2023
2 parents 3d80b72 + 24a66cb commit 2b8088c
Show file tree
Hide file tree
Showing 5 changed files with 2,641 additions and 3,308 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,7 @@ typings/

# TernJS port file
.tern-port
test-report.xml
.gitignore
report.json
test-reports/jest-junit.xml
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
18.13.0
10 changes: 6 additions & 4 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module.exports = {

testMatch: ['**/__tests__/*.js'],

testURL: 'http://localhost/',
testEnvironmentOptions: {
url: 'http://localhost/'
},

collectCoverage: true,
collectCoverageFrom: ['src/**/*.js', 'src/**/*.cjs', 'src/**/*.mjs'],
Expand All @@ -28,10 +30,10 @@ module.exports = {
},
reporters: [
'default',
[ 'jest-junit', {
['jest-junit', {
outputDirectory: 'test-reports',
outputName: 'jest-junit.xml',
} ]
outputName: 'jest-junit.xml'
}]
],

testResultsProcessor: 'jest-sonar-reporter'
Expand Down
Loading

0 comments on commit 2b8088c

Please sign in to comment.