aboutsummaryrefslogtreecommitdiffstats
path: root/test/.eslintrc.json
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-03-04 18:30:51 +0100
committerGitHub <noreply@github.com>2019-03-04 18:30:51 +0100
commit9cb124ed00aad8ac47690e31ad0bb8c3c365663d (patch)
tree4cfbdd63f3dbe87398b8bde41de1f2e65ed3c4f2 /test/.eslintrc.json
parentc10945d0e15c5048ae8b5b7e3f8241ad27671a7c (diff)
downloadjquery-9cb124ed00aad8ac47690e31ad0bb8c3c365663d.tar.gz
jquery-9cb124ed00aad8ac47690e31ad0bb8c3c365663d.zip
Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test
So far, we've been testing that jQuery element iteration works with polyfilled Symbol & transpiled for-of via a Node test with jsdom with the Symbol global removed. Unfortunately, jsdom now requires Symbol to be present for its internal functionality so such a test is no longer possible. Instead, it's been migrated to an iframe test with transpiled JavaScript. This PR also enables us to use ECMAScript 2017 or newer in Node.js code. Closes gh-4305
Diffstat (limited to 'test/.eslintrc.json')
-rw-r--r--test/.eslintrc.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/.eslintrc.json b/test/.eslintrc.json
index c3924fbc6..2c724626f 100644
--- a/test/.eslintrc.json
+++ b/test/.eslintrc.json
@@ -51,5 +51,14 @@
// Not really too many - waiting for autofix features for these rules
"lines-around-comment": "off",
"dot-notation": "off"
- }
+ },
+
+ "overrides": [
+ {
+ "files": ["data/core/jquery-iterability-transpiled-es6.js"],
+ "parserOptions": {
+ "ecmaVersion": 2015
+ }
+ }
+ ]
}