mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-07 10:10:56 +00:00
Resolve "Bump frontend deps"
This commit is contained in:
parent
b12cd6905e
commit
ea44b47d3d
62 changed files with 5596 additions and 6149 deletions
web-frontend
25
web-frontend/coverage.config.js
Normal file
25
web-frontend/coverage.config.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
const path = require('path')
|
||||
|
||||
// Setting reporters on the command line does not work so enable via this env variable
|
||||
// we have to set anyway when using the junit reporter in CI.
|
||||
const junitReporterConfig = process.env.JEST_JUNIT_OUTPUT_DIR
|
||||
? {
|
||||
reporters: ['default', path.join(__dirname, '/node_modules/jest-junit')],
|
||||
}
|
||||
: {}
|
||||
|
||||
module.exports = {
|
||||
coverageReporters: [
|
||||
'text-summary',
|
||||
['cobertura', { projectRoot: '/baserow/' }],
|
||||
],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/modules/**/*.{js,Vue,vue}',
|
||||
'!**/node_modules/**',
|
||||
'!**/.nuxt/**',
|
||||
'!**/reports/**',
|
||||
'!**/test/**',
|
||||
'!**/generated/**',
|
||||
],
|
||||
...junitReporterConfig,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue