We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c1fc9d commit 985efc7Copy full SHA for 985efc7
1 file changed
test/index.js
@@ -259,3 +259,10 @@ test('should allow graceful shutdowns', function (t) {
259
}
260
});
261
262
+
263
+test('should be resistant to breaking `require.extensions`', function (t) {
264
+ spawn('modify-extensions.js', function (out) {
265
+ t.notOk(/TypeError/.test(out));
266
+ });
267
+ setTimeout(t.end.bind(t), 500);
268
+});
0 commit comments