chore: fixing the eslint rule

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-02-17 09:21:34 +01:00
parent 8ae65a0bc1
commit a3576a386e
3 changed files with 20 additions and 5 deletions
@@ -236,5 +236,16 @@ ruleTester.run(RULE, rule, {
),
],
},
{
code: `import '@internal/foo'`,
filename: joinPath(FIXTURE, 'packages/bar/src/index.ts'),
errors: [
ERR_UNDECLARED(
'@internal/foo',
'dependencies',
joinPath('packages', 'bar'),
),
],
},
],
});