Skip to content

Commit

Permalink
test(tests): use backwards-compatible node imports specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Jan 26, 2025
1 parent 5fc8609 commit 903f0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/rules/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -3740,10 +3740,10 @@ context('TypeScript', function () {
// Ensure the rule doesn't choke and die on absolute paths trying to pass NaN around
test({
code: `
import fs from 'node:fs';
import fs from 'fs';
import '@scoped/package';
import type { B } from 'node:fs';
import type { B } from 'fs';
import type { A1 } from '/bad/bad/bad/bad';
import './a/b/c';
Expand Down

0 comments on commit 903f0ea

Please sign in to comment.