Skip to content

Commit

Permalink
labmda: use mocha's own file watching...
Browse files Browse the repository at this point in the history
  • Loading branch information
gitgrimbo committed Jan 18, 2020
1 parent 6d02750 commit 799635f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
49 changes: 0 additions & 49 deletions lambda/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@
"package": "serverless package",
"deploy": "npm run build && serverless deploy",
"test:unit": "mocha lib/**/test/*.test.js",
"--comment--test:unit:watch": "Use chokidar for file watching, as it allows exclusions (ignore) unlike mocha's file watching",
"test:unit:watch": "chokidar lib/**/*.js --ignore \"lib/itest\" --command \"npm run test:unit\"",
"test:unit:watch": "npm run test:unit -- --watch --watch-files lib",
"--test:integration": "to use grep run 'npm run test:integration -- --grep=somestring'",
"test:integration": "mocha lib/itest/**/*.itest.js",
"build": "echo no build",
"logs": "serverless logs -f laneSwimmingData"
},
"devDependencies": {
"chai": "^4.2.0",
"chokidar-cli": "^2.1.0",
"load-json-file": "^6.2.0",
"mkdirp": "^0.5.1",
"mocha": "^7.0.0",
Expand Down

0 comments on commit 799635f

Please sign in to comment.