Skip to content
Permalink
Browse files

refactor: fix test coverage config

  • Loading branch information...
NicoPennec committed Aug 6, 2019
1 parent c2d5468 commit 7f795177f19778a6c6f1f378cdc19050438c58a2
Showing with 7 additions and 6 deletions.
  1. +0 −1 .gitignore
  2. +4 −1 package.json
  3. +3 −4 test/fixture/nuxt.config.js
@@ -7,4 +7,3 @@ node_modules
.DS_STORE
coverage
dist
test/fixture/static/sitemap.*
@@ -32,7 +32,7 @@
"release": "standard-version && git push --follow-tags && npm publish",
"start": "nuxt start test/fixture",
"test": "npm run lint && npm run unit",
"unit": "jest --maxWorkers=4"
"unit": "jest"
},
"husky": {
"hooks": {
@@ -43,6 +43,9 @@
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"lib/**/*.js"
],
"testEnvironment": "node"
},
"dependencies": {
@@ -1,13 +1,12 @@
const { resolve } = require('path')

module.exports = {
rootDir: resolve(__dirname, '../..'),
srcDir: __dirname,
dev: false,
render: {
resourceHints: false
},
modules: ['@@'],
modules: [
require('../..')
],
sitemap: {
path: '/sitemap.xml',
exclude: [

0 comments on commit 7f79517

Please sign in to comment.
You can’t perform that action at this time.