diff --git a/.eslintrc b/.eslintrc
index e3fc500934ceaf2bdcd382c84f6b6bad950874ba..b4d114257d9f3314ffded5e3ecf9b78ef2573bc7 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -107,6 +107,12 @@
         "@typescript-eslint/no-unused-vars": "off",
         "@typescript-eslint/no-var-requires": "off"
       }
+    },
+    {
+      "files": ["**/setupTests.js"],
+      "rules": {
+        "no-undef": "off"
+      }
     }
   ]
 }
diff --git a/src/setupTests.js b/src/setupTests.js
index 578d37179ac87b55f327863d7a17b1f2561291f8..243446ec5695ac22a1d015a5715f1f8ac74dba14 100644
--- a/src/setupTests.js
+++ b/src/setupTests.js
@@ -6,7 +6,7 @@ import "@testing-library/jest-dom/extend-expect";
 import { server } from "./mocks/server";
 
 global.console = {
-  log: jest.fn(), // console.log are ignored in tests
+  log: jest.fn(), // no-undef console.log are ignored in tests
 
   // Keep native behaviour for other methods, use those to print out things in your own tests, not `console.log`
   error: console.error,