Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
fix test errors related to esversion being too low
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Simmons committed Mar 11, 2021
1 parent 55f8998 commit 97fab4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"esversion" : 5, // {int} Specify the ECMAScript version to which the code must adhere.
"esversion" : 9, // {int} Specify the ECMAScript version to which the code must adhere.
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
Expand Down
4 changes: 2 additions & 2 deletions test/integration/proxyReqPathResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ describe('resolveProxyReqPath', function() {

agent(app.callback())
.get('/working')
.end(() => {
.end(function() {
assert.deepStrictEqual(opts.headers, {});
done();
})
});
});

describe('when author uses option proxyReqPathResolver', function() {
Expand Down

0 comments on commit 97fab4f

Please sign in to comment.