Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 committed Nov 21, 2024
1 parent 444716b commit 4127681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/rules/no-relative-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ ruleTester.run('no-relative-packages', rule, {
code: 'import bar from "../bar"',
filename: testFilePath('./package-named/index.js'),
errors: [{
message: `Relative import from another package is not allowed. Use \`${normalize('eslint-plugin-import/tests/files/bar')}\` instead of \`../bar\``,
message: `Relative import from another package is not allowed. Use \`${normalize('@exodus/eslint-plugin-import/tests/files/bar')}\` instead of \`../bar\``,
line: 1,
column: 17,
}],
output: `import bar from "eslint-plugin-import/tests/files/bar"`,
output: `import bar from "@exodus/eslint-plugin-import/tests/files/bar"`,
}),
],
});

0 comments on commit 4127681

Please sign in to comment.