diff --git a/tests/src/rules/no-parent-barrel-import.js b/tests/src/rules/no-parent-barrel-import.js index 9cd3b0dbcb..52dc4051f6 100644 --- a/tests/src/rules/no-parent-barrel-import.js +++ b/tests/src/rules/no-parent-barrel-import.js @@ -74,6 +74,11 @@ ruleTester.run('no-parent-barrel-import', rule, { errors: [error], filename: testFilePath('./no-parent-barrel-import.js'), }), + test({ + code: 'import foo from ".."', + errors: [error], + filename: testFilePath('./no-self-import-folder/index.js'), + }), test({ code: 'var foo = require("./index.js")', errors: [error],