Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: fix node protocol enforcement test lookup to pass locally
  • Loading branch information
mrpmohiburrahman committed Mar 4, 2026
commit 2a20f4809dc11d2d81014cb3d3e5ceeedc8e9d6b
5 changes: 1 addition & 4 deletions scripts/tests/eslint-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,7 @@ describe('eslint configuration', () => {

// ── 5. Node protocol enforcement ───────────────────────────────────────
describe('node protocol enforcement', () => {
// Find the config block that provides the import plugin
const entry = configArray.find(
(entry) => entry.plugins && 'import' in entry.plugins,
);
const entry = findAllWithRule('import/enforce-node-protocol-usage')[0];

it('has the enforce-node-protocol-usage rule', () => {
expect(
Expand Down