mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
Fix delete statement in two tests
This commit is contained in:
parent
4b890ce72d
commit
290a78f6b0
@ -26,7 +26,7 @@
|
||||
"web-types": "editors/jetbrains/htmx.web-types.json",
|
||||
"scripts": {
|
||||
"dist": "./scripts/dist.sh",
|
||||
"lint": "eslint src/htmx.js",
|
||||
"lint": "eslint src/htmx.js test/attributes/ test/core/ test/util/",
|
||||
"format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/",
|
||||
"test": "mocha-chrome test/index.html",
|
||||
"test-types": "tsc --project ./jsconfig.json",
|
||||
@ -55,6 +55,7 @@
|
||||
"no-unused-vars": 0,
|
||||
"no-useless-call": 0,
|
||||
"no-useless-escape": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
"never"
|
||||
|
@ -642,7 +642,7 @@ describe("Core htmx AJAX Tests", function(){
|
||||
this.server.respond();
|
||||
foo.bar().should.equal(42);
|
||||
} finally {
|
||||
delete foo;
|
||||
delete window.foo;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -706,7 +706,7 @@ describe("Core htmx Shadow DOM Tests", function() {
|
||||
this.server.respond();
|
||||
foo.bar().should.equal(42);
|
||||
} finally {
|
||||
delete foo;
|
||||
delete window.foo;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user