Scott Carver
eccef18724
Switch test framework to ava
...
Should match datasheet-server.
2018-11-11 13:26:15 -08:00
Scott Carver
1a6ec88c2d
Fix travis subprocess.kill problem - attempt 3
...
- Don't connect to pipes of spawned yawn process (we don't need them, and they can prevent us from exiting the mocha process)
- agent: false to avoid keeping http connection alive even after get is finished (also keeping mocha process alive)
2018-11-10 15:51:32 -08:00
Scott Carver
3beefe0925
Fix travis subprocess.kill problem - attempt 3
...
Spawn a detached process, which should also prevent parent from waiting for kill to finish.
2018-11-09 18:24:37 -08:00
Scott Carver
08b3543b87
Fix travis subprocess.kill problem - attempt 2
2018-11-09 18:08:42 -08:00
Scott Carver
9b69feff2c
Use bash for shell
...
This may work around a problem where kill() does not work correctly in a travis context (https://github.com/travis-ci/travis-ci/issues/704 )
2018-11-09 17:51:21 -08:00
Scott Carver
d0259756a5
Increase GET test timeout
...
Tests are not currently passing on travis, probably because of slower machine.
2018-11-09 17:29:57 -08:00
Scott Carver
669a701a20
Add basic http smoke test
...
- Add mocha dev dependency
- Add test to launch server and GET basic urls
- Add `yarn test` to travis
2018-11-09 17:26:07 -08:00