diff --git a/test/watchCases/plugins/define-plugin/0/index.js b/test/watchCases/plugins/define-plugin/0/index.js index f0b05c51d7c..182e0f038f8 100644 --- a/test/watchCases/plugins/define-plugin/0/index.js +++ b/test/watchCases/plugins/define-plugin/0/index.js @@ -1,15 +1,17 @@ it("should be able to use dynamic defines in watch mode", function() { const module = require("./module"); - module.should.be.eql({ + expect(module).toEqual({ default: WATCH_STEP, - type: "string" + type: "string", + [Symbol.toStringTag]: "Module" }); }); it("should not update a define when dependencies list is missing", function() { const module2 = require("./module2"); - module2.should.be.eql({ + expect(module2).toEqual({ default: "0", - type: "string" + type: "string", + [Symbol.toStringTag]: "Module" }); });