Merge pull request #6181 from EugeneHlushko/cleanup/dont-test-plugin-for-apply-func

Don't check plugins for apply function in tests, schema does the check for this.
This commit is contained in:
Tobias Koppers 2017-12-26 20:30:40 +01:00 committed by GitHub
commit 9bfc7fc56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;