mesg-foundation / js-sdk

Javascript mono-repo with all the tools to interact with MESG
https://mesg.com
4 stars 4 forks source link

Create a test command #4

Closed antho1404 closed 4 years ago

antho1404 commented 4 years ago

We can already run tests with npm test but it's a bit complicated

"pretest": "mesg-cli daemon:start && mesg-cli service:create \"$(mesg-cli service:compile ./)\" --start",
"test": "mocha,
"posttest": "mesg-cli daemon:stop",

We could add a new set of commands service:test:start and service:test:stop to start the test environment with the right config, maybe we pre-generated accounts etc...

antho1404 commented 4 years ago

Issue migrated to liteflow-labs/liteflow-js#4