Skip to content

Commit 66510b8

Browse files
EugeneHlushkosokra
authored andcommitted
Cleanup: don't check plugins for apply function in tests, schema does the check for this.
1 parent 6a49ce0 commit 66510b8

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

test/CachePlugin.unittest.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ describe("CachePlugin", () => {
1515
};
1616
});
1717

18-
it("has apply ", () => {
19-
(new CachePlugin()).apply.should.be.a.Function();
20-
});
2118
describe("applyMtime", () => {
2219
beforeEach(() => env.plugin = new CachePlugin());
2320

test/SourceMapDevToolModuleOptionsPlugin.unittest.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ const SourceMapDevToolModuleOptionsPlugin = require("../lib/SourceMapDevToolModu
55
const applyPluginWithOptions = require("./helpers/applyPluginWithOptions");
66

77
describe("SourceMapDevToolModuleOptionsPlugin", () => {
8-
it("has apply function", () => (new SourceMapDevToolModuleOptionsPlugin()).apply.should.be.a.Function());
9-
108
describe("when applied", () => {
119
let eventBindings;
1210

0 commit comments

Comments
 (0)