diff --git a/test/parallel/test-policy-scopes-dependencies.js b/test/parallel/test-policy-scopes-dependencies.js index 3593d0ce5e0ae3..f4b93a08e58c47 100644 --- a/test/parallel/test-policy-scopes-dependencies.js +++ b/test/parallel/test-policy-scopes-dependencies.js @@ -120,22 +120,22 @@ const assert = require('assert'); } }); - // for (const href of baseURLs) { - // const redirector = manifest.getDependencyMapper(href); - // if (href.startsWith('file:///root/dir1/')) { - // assert.strictEqual( - // redirector.resolve('fs').href, - // 'test:fs2' - // ); - // } else if (href === 'file:///root/dir1') { - // assert.strictEqual( - // redirector.resolve('fs').href, - // 'test:fs1' - // ); - // } else { - // assert.strictEqual(redirector.resolve('fs'), null); - // } - // } + for (const href of baseURLs) { + const redirector = manifest.getDependencyMapper(href); + if (href.startsWith('file:///root/dir1/')) { + assert.strictEqual( + redirector.resolve('fs').href, + 'test:fs2' + ); + } else if (href === 'file:///root/dir1') { + assert.strictEqual( + redirector.resolve('fs').href, + 'test:fs1' + ); + } else { + assert.strictEqual(redirector.resolve('fs'), null); + } + } assert.strictEqual( manifest