11 Commits

Author SHA1 Message Date
1d8c23e25a Fix jest test in CI
Some checks failed
continuous-integration/drone/push Build is failing
Jest runs out of memory when run in Docker, possibly because of a memory
leak in ts-jest.

The tests will now run after the build, on the built *.js files. As a
consequence, the jest tests will run faster because ts-jest will no
longer be invoked in ci.

Check the package.json test:ci script for more info.

https://github.com/facebook/jest/issues/7874
https://github.com/facebook/jest/issues/9081
2020-01-10 10:35:59 +01:00
23f2796d68 Use relative paths in packages/*/package.json
When using versions and letting npm install dedupe the packages, npm
audit does not work and it exits with a cryptic error:

  The server said: Invalid package tree, run npm install to rebuild your package-lock.json
2020-01-09 18:26:00 +01:00
eb959fbeee Fix audio captcha error 2020-01-09 10:47:02 +01:00
9ddbad9bfb Add captcha logger to captcha/audio 2019-11-04 11:10:06 -04:00
0ef21394e3 Add ability to mock captcha via process.env.CAPTCHA
process.env.NODE_ENV must be set to test
2019-11-03 19:20:24 -04:00
a9f37103bd Add validateCaptcha function to @rondo.dev/captcha 2019-11-03 18:05:34 -04:00
b5325a050d Add react-captcha, react-test package 2019-11-01 17:53:21 -04:00
fc9d3b5b87 Add test for TextStream.ts 2019-10-31 15:14:02 -04:00
fe14691ac6 Add tests packages/captcha 2019-10-31 15:05:36 -04:00
4721e8e986 Export audio.ts 2019-10-22 21:41:14 -05:00
cd8044d6a9 Add packages/captcha (untested) 2019-10-22 21:40:14 -05:00