mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #6361 from Ocelot-Social-Community/fix-coverage
refactor(webapp): fix coverage
This commit is contained in:
commit
9ab1ada334
@ -20,9 +20,10 @@ module.exports = {
|
||||
lines: 83,
|
||||
},
|
||||
},
|
||||
coverageProvider: 'v8',
|
||||
setupFiles: ['<rootDir>/test/registerContext.js', '<rootDir>/test/testSetup.js'],
|
||||
transform: {
|
||||
'.*\\.(vue)$': 'vue-jest',
|
||||
'.*\\.(vue)$': '@vue/vue2-jest',
|
||||
'^.+\\.js$': 'babel-jest',
|
||||
},
|
||||
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
|
||||
|
||||
@ -66,9 +66,9 @@
|
||||
"zxcvbn": "^4.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "~7.21.4",
|
||||
"@babel/core": "~7.22.1",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
"@babel/preset-env": "^7.22.4",
|
||||
"@faker-js/faker": "5.1.0",
|
||||
"@nuxtjs/composition-api": "0.32.0",
|
||||
"@storybook/addon-a11y": "^6.3.6",
|
||||
@ -79,8 +79,9 @@
|
||||
"@vue/eslint-config-prettier": "~6.0.0",
|
||||
"@vue/server-test-utils": "~1.0.0-beta.31",
|
||||
"@vue/test-utils": "1.3.4",
|
||||
"@vue/vue2-jest": "29",
|
||||
"async-validator": "^3.2.4",
|
||||
"babel-core": "~7.0.0-bridge.0",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-eslint": "~10.1.0",
|
||||
"babel-jest": "29.5",
|
||||
"babel-loader": "~8.1.0",
|
||||
@ -110,7 +111,6 @@
|
||||
"storybook-vue-router": "^1.0.7",
|
||||
"style-loader": "~0.23.1",
|
||||
"style-resources-loader": "~1.3.3",
|
||||
"vue-jest": "~3.0.5",
|
||||
"vue-svg-loader": "~0.16.0",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
},
|
||||
|
||||
@ -33,6 +33,9 @@ export default {
|
||||
user: 'auth/user',
|
||||
}),
|
||||
},
|
||||
data() {
|
||||
return { contribution: {} }
|
||||
},
|
||||
async asyncData(context) {
|
||||
const {
|
||||
app,
|
||||
|
||||
@ -8,6 +8,9 @@ import SearchResults from '~/components/_new/features/SearchResults/SearchResult
|
||||
export default {
|
||||
layout: 'default',
|
||||
watchQuery: ['search'],
|
||||
data() {
|
||||
return { search: null }
|
||||
},
|
||||
head() {
|
||||
return {
|
||||
title: this.$t('search.title'),
|
||||
|
||||
1016
webapp/yarn.lock
1016
webapp/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user