mirror of https://github.com/webpack/webpack.git
6 lines
228 B
JavaScript
6 lines
228 B
JavaScript
|
it("should allow functions as externals with promise and resolver", function () {
|
||
|
const result = require("external");
|
||
|
expect(result).toMatch(/^[a-z]:\\|\//i);
|
||
|
expect(result).toMatch(/resolve.node_modules.external\.js$/);
|
||
|
});
|