Skip to content

Commit 02d0ab1

Browse files
committed
test(tests): use backwards-compatible node imports specifiers
1 parent 1684a49 commit 02d0ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/rules/order.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3740,10 +3740,10 @@ context('TypeScript', function () {
37403740
// Ensure the rule doesn't choke and die on absolute paths trying to pass NaN around
37413741
test({
37423742
code: `
3743-
import fs from 'node:fs';
3743+
import fs from 'fs';
37443744
37453745
import '@scoped/package';
3746-
import type { B } from 'node:fs';
3746+
import type { B } from 'fs';
37473747
37483748
import type { A1 } from '/bad/bad/bad/bad';
37493749
import './a/b/c';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy