mirror of https://github.com/webpack/webpack.git
12 lines
286 B
JavaScript
12 lines
286 B
JavaScript
it("should set correct options on js files", function() {
|
|
expect(require("./loader!./index.js")).toEqual({
|
|
minimize: true,
|
|
jsfile: true
|
|
});
|
|
});
|
|
it("should set correct options on other files", function() {
|
|
expect(require("./loader!./txt.txt")).toEqual({
|
|
minimize: true
|
|
});
|
|
});
|