2018-08-14 22:40:37 +08:00
|
|
|
it("should ignore missing modules as entries", function() {
|
2021-12-13 05:57:14 +08:00
|
|
|
// a.js and b.js should be evaluated correctly
|
2018-08-14 22:40:37 +08:00
|
|
|
});
|
2017-12-20 01:48:26 +08:00
|
|
|
|
2018-08-14 22:40:37 +08:00
|
|
|
it("should use WebpackMissingModule when evaluating missing modules", function() {
|
2018-01-27 06:59:38 +08:00
|
|
|
expect(function() {
|
2017-12-20 01:48:26 +08:00
|
|
|
require("./intentionally-missing-module");
|
2018-05-15 14:16:39 +08:00
|
|
|
}).toThrowError("Cannot find module './intentionally-missing-module'");
|
2017-12-20 01:48:26 +08:00
|
|
|
});
|