From dba958851752f95203070adaecddb68a072d21c9 Mon Sep 17 00:00:00 2001 From: Joel Posti Date: Thu, 15 Apr 2021 12:26:54 +0300 Subject: [PATCH] Assertion.prototype.html should `return this` just like Assertion.prototype.text and Assertion.prototype.contain. --- jquery.expect.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.expect.js b/jquery.expect.js index 7e806a0..ad4dd02 100644 --- a/jquery.expect.js +++ b/jquery.expect.js @@ -790,6 +790,7 @@ (got = this.obj.html()) === html , msg || 'expected ' + inspect(this.obj) + ' to have HTML ' + html + ' but got ' + got , msg || 'expected ' + inspect(this.obj) + ' not to have HTML ' + html); + return this; }; /**