From 0620062c541aa3dfbb055f18875c872e420d76a2 Mon Sep 17 00:00:00 2001 From: Jon <31494475+jonioni@users.noreply.github.com> Date: Mon, 8 May 2023 03:46:45 -0400 Subject: [PATCH] test: additional test on parent folder --- tests/src/rules/no-parent-barrel-import.js | 5 +++++ 1 file changed, 5 insertions(+) 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],