Cleanup: don't check plugins for apply function in tests, schema does the check for this.

This commit is contained in:
EugeneHlushko 2017-12-22 19:04:31 +02:00 committed by Tobias Koppers
parent 6a49ce0631
commit 66510b876a
2 changed files with 0 additions and 5 deletions

View File

@ -15,9 +15,6 @@ describe("CachePlugin", () => {
};
});
it("has apply ", () => {
(new CachePlugin()).apply.should.be.a.Function();
});
describe("applyMtime", () => {
beforeEach(() => env.plugin = new CachePlugin());

View File

@ -5,8 +5,6 @@ const SourceMapDevToolModuleOptionsPlugin = require("../lib/SourceMapDevToolModu
const applyPluginWithOptions = require("./helpers/applyPluginWithOptions");
describe("SourceMapDevToolModuleOptionsPlugin", () => {
it("has apply function", () => (new SourceMapDevToolModuleOptionsPlugin()).apply.should.be.a.Function());
describe("when applied", () => {
let eventBindings;