Fakultas Ilmu Komputer UI

Commit e1cfc1fd authored by WILLIAM GATES's avatar WILLIAM GATES
Browse files

[CHORES] Fix CI

parent d99e18c1
Pipeline #30279 failed with stages
in 22 minutes and 47 seconds
......@@ -9,6 +9,7 @@
# testing
/coverage
test-report.xml
# production
/build
......
......@@ -17,7 +17,7 @@ test:
artifacts:
expire_in: 1 hour
paths:
- coverage/clover.xml
- test-report.xml
script:
- npm install
- npm run test:coverage
......
......@@ -45,6 +45,7 @@
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.3.0",
"jest": "^25.1.0",
"jest-sonar-reporter": "^2.0.0",
"parcel-bundler": "^1.12.4",
"prettier": "^1.19.1"
},
......@@ -52,6 +53,7 @@
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"testResultsProcessor": "jest-sonar-reporter"
}
}
sonar.javascript.lcov.reportPaths=coverage/clover.xml
sonar.testExecutionReportPaths=test-report.xml
sonar.scm.provider=git
sonar.sourceEncoding=UTF-8
sonar.sources=src
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment