Skip to content

Commit cdc1fa8

Browse files
committed
fix: @putout/plugin-nodejs: declare: process: assert: rm
1 parent b5cdddc commit cdc1fa8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/plugin-nodejs/lib/declare/index.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,8 @@ test('putout: plugin: nodejs: declare: no report: types', (t) => {
152152
t.noReportCode(`const {x} = types`);
153153
t.end();
154154
});
155+
156+
test('putout: plugin: nodejs: declare: no report: assert', (t) => {
157+
t.noReportCode(`assert`);
158+
t.end();
159+
});

packages/plugin-nodejs/lib/declare/modules/process.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default {
2222
getegid: `import {getegid} from 'node:process'`,
2323
getgroups: `import {getgroups} from 'node:process'`,
2424
allowedNodeEnvironmentFlags: `import {allowedNodeEnvironmentFlags} from 'node:process'`,
25-
assert: `import {assert} from 'node:process'`,
2625
features: `import {features} from 'node:process'`,
2726
setUncaughtExceptionCaptureCallback: `import {setUncaughtExceptionCaptureCallback} from 'node:process'`,
2827
hasUncaughtExceptionCaptureCallback: `import {hasUncaughtExceptionCaptureCallback} from 'node:process'`,

0 commit comments

Comments
 (0)