webpack/test/Cli.test.js

8 lines
175 B
JavaScript
Raw Normal View History

2020-03-09 21:18:34 +08:00
const webpack = require("../");
describe("Cli", () => {
it("should generate the correct cli flags", () => {
2020-03-09 23:24:04 +08:00
expect(webpack.cli.getArguments()).toMatchSnapshot();
2020-03-09 21:18:34 +08:00
});
});