Skip to content

Commit

Permalink
Smoke test for NFPM events (#178)
Browse files Browse the repository at this point in the history
* Added NFPM tests.

* Refactor smoke test.

Co-authored-by: prathamesh0 <[email protected]>
  • Loading branch information
ashwinphatak and prathamesh0 authored Aug 2, 2021
1 parent f1a96e8 commit d936601
Show file tree
Hide file tree
Showing 6 changed files with 1,254 additions and 103 deletions.
6 changes: 0 additions & 6 deletions packages/uni-watcher/.mocharc.json

This file was deleted.

4 changes: 4 additions & 0 deletions packages/uni-watcher/.mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
timeout: '60000'
bail: true
exit: true # TODO: Find out why the program doesn't exit on its own.
require: 'ts-node/register'
4 changes: 2 additions & 2 deletions packages/uni-watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"private": true,
"main": "index.ts",
"scripts": {
"server": "DEBUG=vulcanize:* nodemon src/server.ts -f environments/local.toml",
"server": "DEBUG=vulcanize:* nodemon --watch src src/server.ts -f environments/local.toml",
"server:mock": "MOCK=1 nodemon src/server.ts -f environments/local.toml",
"job-runner": "DEBUG=vulcanize:* nodemon src/job-runner.ts -f environments/local.toml",
"job-runner": "DEBUG=vulcanize:* nodemon --watch src src/job-runner.ts -f environments/local.toml",
"fill": "DEBUG=vulcanize:* ts-node src/fill.ts -f environments/local.toml",
"test": "mocha src/**/*.spec.ts",
"lint": "eslint .",
Expand Down
Loading

0 comments on commit d936601

Please sign in to comment.