mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 23:35:13 +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",
|
"web-types": "editors/jetbrains/htmx.web-types.json",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dist": "./scripts/dist.sh",
|
"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/",
|
"format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/",
|
||||||
"test": "mocha-chrome test/index.html",
|
"test": "mocha-chrome test/index.html",
|
||||||
"test-types": "tsc --project ./jsconfig.json",
|
"test-types": "tsc --project ./jsconfig.json",
|
||||||
@ -55,6 +55,7 @@
|
|||||||
"no-unused-vars": 0,
|
"no-unused-vars": 0,
|
||||||
"no-useless-call": 0,
|
"no-useless-call": 0,
|
||||||
"no-useless-escape": 0,
|
"no-useless-escape": 0,
|
||||||
|
"no-unused-expressions": 0,
|
||||||
"space-before-function-paren": [
|
"space-before-function-paren": [
|
||||||
"error",
|
"error",
|
||||||
"never"
|
"never"
|
||||||
|
@ -642,7 +642,7 @@ describe("Core htmx AJAX Tests", function(){
|
|||||||
this.server.respond();
|
this.server.respond();
|
||||||
foo.bar().should.equal(42);
|
foo.bar().should.equal(42);
|
||||||
} finally {
|
} finally {
|
||||||
delete foo;
|
delete window.foo;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -706,7 +706,7 @@ describe("Core htmx Shadow DOM Tests", function() {
|
|||||||
this.server.respond();
|
this.server.respond();
|
||||||
foo.bar().should.equal(42);
|
foo.bar().should.equal(42);
|
||||||
} finally {
|
} finally {
|
||||||
delete foo;
|
delete window.foo;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user