1
0
Fork 0
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:
Petr Stribny 2023-04-28 10:56:33 +00:00
parent b12cd6905e
commit ea44b47d3d
62 changed files with 5596 additions and 6149 deletions
web-frontend

View 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,
}