sizzle/.eslintrc-node.json
Michał Gołębiowski-Owczarek 948eff8f0f
Build: Run Karma tests sequentially in separate processes + other improvements
Sizzle hasn't been able to finish all its unit tests successfully for a long time. This commit attempts to make it work again (at least most of the time).

Summary of the changes:
1. A new "karma-tests" task is created; it runs tests in various browser sets
but does it sequentially in separate processes to avoid Karma bugs that cause
browsers from previous sets to somehow still be waited on during subsequent
runs, failing the build.
2. Upgrade tested browsers.
3. Run iOS tests at the end (as it fails more often than other browsers).
4. Use real iOS 10.3 device in Karma.

We can't upgrade Karma as the latest version (`4.2.0`) hangs in IE 7 (IE 8 seems to work fine there).

Closes gh-455
2019-08-21 16:57:14 +02:00

15 lines
133 B
JSON

{
"root": true,
"extends": "jquery",
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"es6": true,
"node": true
}
}