Skip to content

Commit

Permalink
remove linting before running e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Jul 11, 2024
1 parent b0d8f46 commit 9688f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"docker-start-couchdb": "npm run docker-stop-couchdb && docker run -d -p 6984:5984 --rm --name cht-conf-couchdb couchdb:2.3.1 && sh test/scripts/wait_for_response_code.sh 6984 200 CouchDB",
"docker-stop-couchdb": "docker stop cht-conf-couchdb || true",
"test": "npm run eslint && npm run docker-start-couchdb && npm run clean && mkdir -p build/test && cp -r test/data build/test/data && cd build/test && nyc --reporter=html mocha --forbid-only \"../../test/**/*.spec.js\" --exclude \"../../test/e2e/**/*.spec.js\" && cd ../.. && npm run docker-stop-couchdb",
"test-e2e": "npm run eslint && mocha --config test/e2e/.mocharc.js",
"test-e2e": "mocha --config test/e2e/.mocharc.js",
"semantic-release": "semantic-release"
},
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
fullTrace: true,
asyncOnly: false,
spec: ['test/e2e/**/*.spec.js'],
timeout: 60_000, // API takes a little long to start up
timeout: 60_000, // spinning up a CHT instance takes a little long
reporter: 'spec',
file: ['test/e2e/hooks.js'],
captureFile: 'test/e2e/results.txt',
Expand Down

0 comments on commit 9688f80

Please sign in to comment.