mirror of https://github.com/webpack/webpack.git
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:
commit
9bfc7fc56b
|
|
@ -15,9 +15,6 @@ describe("CachePlugin", () => {
|
|||
};
|
||||
});
|
||||
|
||||
it("has apply ", () => {
|
||||
(new CachePlugin()).apply.should.be.a.Function();
|
||||
});
|
||||
describe("applyMtime", () => {
|
||||
beforeEach(() => env.plugin = new CachePlugin());
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue