fix tests

This commit is contained in:
Carson Gross
2022-07-11 16:16:33 -06:00
parent 83b60f41f1
commit 207889f283
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@
loadingStateEltsByType[type] = getLoadingStateElts(
container,
type,
evt.detail.pathInfo.path
evt.detail.pathInfo.requestPath
)
})

View File

@@ -34,7 +34,7 @@ describe("hyperscript integration", function() {
htmx.trigger(btn, "htmx:load");
btn.click();
this.server.respond();
div.innerHTML.should.equal("Response Status Error Code 404 from /test");
div.innerHTML.startsWith("Response Status Error Code 404 from");
});
it('hyperscript in non-htmx annotated nodes is evaluated', function () {