tests: More updates

- `npm run test:single` runs jest with `-w 1`, makes the output readable
- adds testIds to the radio buttons, I think it's a bit bugged where if
  you click the label it'll automatically switch to the first radio button
  (even if you click the label of the 2nd button)
- moved a misplaced wait
This commit is contained in:
Sanne Raymaekers 2020-11-17 20:35:34 +01:00 committed by Alexander Todorov
parent da5df65394
commit 33e9db6681
3 changed files with 11 additions and 6 deletions

View file

@ -80,6 +80,7 @@
"server:ctr": "node src/server/generateServerKey.js",
"start": "NODE_ENV=development webpack-dev-server --config config/dev.webpack.config.js",
"test": "jest --verbose",
"test:single": "jest --verbose -w 1",
"travis:build": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"travis:verify": "npm-run-all travis:build lint test",
"verify": "npm-run-all build lint test"