mirror of https://github.com/webpack/webpack.git
6 lines
152 B
JavaScript
6 lines
152 B
JavaScript
|
|
it("should error loadModule when the referenced module contains errors", () => {
|
||
|
|
expect(function() {
|
||
|
|
require("./loader!./a")
|
||
|
|
}).toThrowError();
|
||
|
|
});
|