diff --git a/test/constructor.test.js b/test/constructor.test.js index d4db6a712..099b4558b 100644 --- a/test/constructor.test.js +++ b/test/constructor.test.js @@ -27,7 +27,7 @@ describe('Constructor', function() { container: null, }), ); - }).to.throw(/option.container require \'string\' or \'Element\' type, but got \'null\'/); + }).to.throw(/option.container require \'string\' or \'Element\' type'/); }); it('Destroy all instances', function() {