Skip to content

Commit

Permalink
Add test when functions were imported
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Jun 4, 2024
1 parent 724593a commit bf4637b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/lib/rules/no-runloop.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ eslintTester.run('no-runloop', rule, {
function constructor() {};
constructor();
`,
`
import { hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf, constructor } from './util';
hasOwnProperty();
isPrototypeOf();
propertyIsEnumerable();
toLocaleString();
toString();
valueOf();
constructor();
`,
],
invalid: [
{
Expand Down

0 comments on commit bf4637b

Please sign in to comment.