diff --git a/.circleci/config.yml b/.circleci/config.yml index 70f6f8110..6b0328037 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: /usr/src/app docker: - - image: banian/node + - image: banian/node-headless-chrome steps: # Checkout repository - checkout @@ -33,4 +33,4 @@ jobs: # Test - run: name: Tests - command: yarn test && yarn codecov \ No newline at end of file + command: yarn test && yarn codecov diff --git a/package.json b/package.json index 663dc0afc..c92573a21 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,7 @@ ], "jest": { "testEnvironment": "node", - "coverageDirectory": "./coverage/", - "collectCoverage": true, - "collectCoverageFrom": [ - "lib", - "src" - ] + "collectCoverage": true }, "dependencies": { "@nuxtjs/axios": "^5.0.0-rc.2", diff --git a/test/module.test.js b/test/module.test.js index 4987ff89d..8fc29b8df 100644 --- a/test/module.test.js +++ b/test/module.test.js @@ -15,7 +15,7 @@ describe('auth', () => { }) nuxt = new Nuxt(config) - // await new Builder(nuxt).build() + await new Builder(nuxt).build() await nuxt.listen(process.env.PORT) }, 60000)