diff options
author | Sarah German <sgerman@gitlab.com> | 2022-08-12 01:50:03 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-08-12 16:32:37 +0300 |
commit | e5b263836bfd5529adbce1e8afc2fdc2dd65193c (patch) | |
tree | 6214f0c153070e0748dd96b1359f3305e28a3033 /package.json | |
parent | cfca6c78d0ad0176f32401b50dc823c9b19cd3e1 (diff) |
Fail Jest tests if warnings or errors are logged to the console
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 358f75bf..b4c2acff 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "glob": "^8.0.3", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", + "jest-fail-on-console": "^2.4.2", "markdownlint-cli": "^0.32.1", "postcss": "^8.4.16", "prettier": "^2.7.1", |