From 8bea365c2b00e3429bbf61a92e70c9f2f48d6475 Mon Sep 17 00:00:00 2001 From: SindreXie Date: Wed, 2 Mar 2022 10:23:51 +0800 Subject: [PATCH 1/3] lint,test: chang eslint-plugin version to 5.12.1 & make test case port random --- package.json | 2 +- test/als.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c54561f50d..d6b55ef65b 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@sinclair/typebox": "^0.23.1", "@sinonjs/fake-timers": "^9.1.0", "@types/node": "^17.0.18", - "@typescript-eslint/eslint-plugin": "^5.7.0", + "@typescript-eslint/eslint-plugin": "~5.12.1", "@typescript-eslint/parser": "^5.7.0", "ajv": "^8.10.0", "ajv-errors": "^3.0.0", diff --git a/test/als.test.js b/test/als.test.js index 5813f8204d..b14c924854 100644 --- a/test/als.test.js +++ b/test/als.test.js @@ -31,7 +31,7 @@ app.post('/', function (request, reply) { reply.send({ id }) }) -app.listen(3000, function (err, address) { +app.listen(0, function (err, address) { t.error(err) sget({ From eaf961c02146d56308b83e5c0934b81fc1543bb9 Mon Sep 17 00:00:00 2001 From: SindreXie Date: Thu, 3 Mar 2022 10:07:12 +0800 Subject: [PATCH 2/3] test: revert for port --- test/als.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/als.test.js b/test/als.test.js index b14c924854..5813f8204d 100644 --- a/test/als.test.js +++ b/test/als.test.js @@ -31,7 +31,7 @@ app.post('/', function (request, reply) { reply.send({ id }) }) -app.listen(0, function (err, address) { +app.listen(3000, function (err, address) { t.error(err) sget({ From bfb8c6bfcaffa858bde800c48480444f206a064c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8F=9C?= Date: Thu, 3 Mar 2022 16:34:17 +0800 Subject: [PATCH 3/3] Update package.json Co-authored-by: Manuel Spigolon --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d6b55ef65b..b0cf8b64a0 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@sinclair/typebox": "^0.23.1", "@sinonjs/fake-timers": "^9.1.0", "@types/node": "^17.0.18", - "@typescript-eslint/eslint-plugin": "~5.12.1", + "@typescript-eslint/eslint-plugin": "5.13.1-alpha.13", "@typescript-eslint/parser": "^5.7.0", "ajv": "^8.10.0", "ajv-errors": "^3.0.0",