Skip to content

Commit 12ac5ea

Browse files
committed
whoopsie
1 parent 3bfa867 commit 12ac5ea

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

test/parallel/test-policy-scopes-dependencies.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,22 @@ const assert = require('assert');
120120
}
121121
});
122122

123-
// for (const href of baseURLs) {
124-
// const redirector = manifest.getDependencyMapper(href);
125-
// if (href.startsWith('file:///root/dir1/')) {
126-
// assert.strictEqual(
127-
// redirector.resolve('fs').href,
128-
// 'test:fs2'
129-
// );
130-
// } else if (href === 'file:///root/dir1') {
131-
// assert.strictEqual(
132-
// redirector.resolve('fs').href,
133-
// 'test:fs1'
134-
// );
135-
// } else {
136-
// assert.strictEqual(redirector.resolve('fs'), null);
137-
// }
138-
// }
123+
for (const href of baseURLs) {
124+
const redirector = manifest.getDependencyMapper(href);
125+
if (href.startsWith('file:///root/dir1/')) {
126+
assert.strictEqual(
127+
redirector.resolve('fs').href,
128+
'test:fs2'
129+
);
130+
} else if (href === 'file:///root/dir1') {
131+
assert.strictEqual(
132+
redirector.resolve('fs').href,
133+
'test:fs1'
134+
);
135+
} else {
136+
assert.strictEqual(redirector.resolve('fs'), null);
137+
}
138+
}
139139

140140
assert.strictEqual(
141141
manifest

0 commit comments

Comments
 (0)