mirror of https://github.com/webpack/webpack.git
Cleanup: don't check plugins for apply function in tests, schema does the check for this.
This commit is contained in:
parent
6a49ce0631
commit
66510b876a
|
|
@ -15,9 +15,6 @@ describe("CachePlugin", () => {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
it("has apply ", () => {
|
|
||||||
(new CachePlugin()).apply.should.be.a.Function();
|
|
||||||
});
|
|
||||||
describe("applyMtime", () => {
|
describe("applyMtime", () => {
|
||||||
beforeEach(() => env.plugin = new CachePlugin());
|
beforeEach(() => env.plugin = new CachePlugin());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ const SourceMapDevToolModuleOptionsPlugin = require("../lib/SourceMapDevToolModu
|
||||||
const applyPluginWithOptions = require("./helpers/applyPluginWithOptions");
|
const applyPluginWithOptions = require("./helpers/applyPluginWithOptions");
|
||||||
|
|
||||||
describe("SourceMapDevToolModuleOptionsPlugin", () => {
|
describe("SourceMapDevToolModuleOptionsPlugin", () => {
|
||||||
it("has apply function", () => (new SourceMapDevToolModuleOptionsPlugin()).apply.should.be.a.Function());
|
|
||||||
|
|
||||||
describe("when applied", () => {
|
describe("when applied", () => {
|
||||||
let eventBindings;
|
let eventBindings;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue