Be strict with import/no-internal-modules in tests
diff --git a/.eslintrc.js b/.eslintrc.js
index 526cfc3..c52aaad 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,3 +1,5 @@
+const path = require('path');
+
 const babel = require('@babel/core');
 
 // Use the root babel.config.js for module resolution.
@@ -90,7 +92,10 @@
         'import/no-internal-modules': [
           'error',
           {
-            allow: ['ajv/lib/refs/json-schema-draft-04.json', 'src/**'],
+            allow: [
+              'ajv/lib/refs/json-schema-draft-04.json',
+              path.resolve(__dirname, './packages/*/src/**'),
+            ],
           },
         ],
         'import/no-relative-parent-imports': 'off',