Skip to content

Commit 4827149

Browse files
Update test/module-hooks/test-module-hooks-builtin-require.js
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent a79df89 commit 4827149

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/module-hooks/test-module-hooks-builtin-require.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
'use strict';
22

33
// This tests that when builtins that demand the `node:` prefix are
4-
// required, the URL that gets passed to the load hook is still
5-
// the one with the `node:` prefix, and the one with the prefix
6-
// stripped for internal lookups don't get passed into the hooks.
4+
// required, the URL returned by the default resolution step is still
5+
// prefixed and valid, and that gets passed to the load hook is still
6+
// the one with the `node:` prefix. The one with the prefix
7+
// stripped for internal lookups should not get passed into the hooks.
78

89
const common = require('../common');
910
const assert = require('assert');

0 commit comments

Comments
 (0)