Skip to content

Commit

Permalink
fix tests and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa authored and pi0 committed Feb 2, 2018
1 parent 5af5506 commit ae9cca9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: /usr/src/app
docker:
- image: banian/node
- image: banian/node-headless-chrome
steps:
# Checkout repository
- checkout
Expand Down Expand Up @@ -33,4 +33,4 @@ jobs:
# Test
- run:
name: Tests
command: yarn test && yarn codecov
command: yarn test && yarn codecov
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
],
"jest": {
"testEnvironment": "node",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"lib",
"src"
]
"collectCoverage": true
},
"dependencies": {
"@nuxtjs/axios": "^5.0.0-rc.2",
Expand Down
2 changes: 1 addition & 1 deletion test/module.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ae9cca9

Please sign in to comment.