Revert "Add test for require-hook node_modules check."
This reverts commit 1488d88c81c4b8a31f96c0fb1045f3328302b2e2. Wrong branch was accidentally merged. There is a better test.
This commit is contained in:
parent
4ecda93147
commit
f8afc5fa17
@ -1 +0,0 @@
|
||||
() => {};
|
||||
@ -1,12 +0,0 @@
|
||||
var chai = require("chai");
|
||||
|
||||
// Require-hook.
|
||||
require("../../lib/babel/api/register/node");
|
||||
|
||||
suite("require hook", function () {
|
||||
test("not node_modules", function () {
|
||||
chai.expect(function () {
|
||||
require("./fixtures/require-hook/not_node_modules/input");
|
||||
}).to.not.throw();
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user