Skip to content

Commit b4ab47a

Browse files
committed
Tests: replace express with basic Node server
Closes jquerygh-5531
1 parent af599d0 commit b4ab47a

File tree

7 files changed

+1645
-1056
lines changed

7 files changed

+1645
-1056
lines changed

eslint.config.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,15 @@ module.exports = [
205205
},
206206
rules: {
207207
...jqueryConfig.rules,
208-
"no-implicit-globals": "error"
208+
"no-implicit-globals": "error",
209+
"no-unused-vars": [
210+
"error",
211+
{
212+
args: "after-used",
213+
argsIgnorePattern: "^_",
214+
caughtErrorsIgnorePattern: "^_"
215+
}
216+
]
209217
}
210218
},
211219

@@ -271,7 +279,7 @@ module.exports = [
271279
"test/node_smoke_tests/**",
272280
"test/bundler_smoke_tests/**/*",
273281
"test/promises_aplus_adapters/**",
274-
"test/middleware-mockserver.js"
282+
"test/middleware-mockserver.cjs"
275283
],
276284
languageOptions: {
277285
ecmaVersion: "latest",

0 commit comments

Comments
 (0)