mirror of https://github.com/webpack/webpack.git
17 lines
360 B
JavaScript
17 lines
360 B
JavaScript
require("should");
|
|
|
|
it("should run", function() {
|
|
Promise.all(
|
|
[
|
|
import(/* webpackChunkName: "a" */ "./a"),
|
|
import(/* webpackChunkName: "b" */ "./b"),
|
|
import(/* webpackChunkName: "c" */ "./c")
|
|
]
|
|
);
|
|
|
|
const files = require("fs").readdirSync(__dirname);
|
|
const hasFile = files.indexOf('a-b-c.bundle.js') !== -1;
|
|
|
|
hasFile.should.be.eql(true);
|
|
});
|