mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: use shorthand properties
PR-URL: https://github.com/nodejs/node/pull/18105 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
eb68a06a3e
commit
db9c556f50
40 changed files with 55 additions and 86 deletions
|
@ -34,7 +34,7 @@ class Agent extends http.Agent {
|
|||
const agent = new Agent();
|
||||
|
||||
http.request({
|
||||
agent: agent
|
||||
agent
|
||||
}).once('error', function() {
|
||||
console.log('ignore');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue