Chore: Enable jest-fail-on-console to prevent console errors in unit tests (#46835)

* Add jest-fail-on-console

* Fix last 2 console warnings

* Update package syntax
This commit is contained in:
Ashley Harrison
2022-03-22 17:03:07 +00:00
committed by GitHub
parent ba62f5ad5d
commit 04bbafb4a6
5 changed files with 26 additions and 0 deletions
+1
View File
@@ -195,6 +195,7 @@
"jest": "27.5.0",
"jest-canvas-mock": "2.3.1",
"jest-date-mock": "1.0.8",
"jest-fail-on-console": "2.3.0",
"jest-junit": "13.0.0",
"jest-matcher-utils": "27.5.0",
"jest-mock-console": "1.2.3",