From 762fd458691ccfedf80c4f5ea9f3575932decdc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 13 Dec 2019 09:48:02 +0100 Subject: [PATCH] chore: fix ESLint errors --- test/unit/pr_checker.test.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/test/unit/pr_checker.test.js b/test/unit/pr_checker.test.js index a97042df..a94194dd 100644 --- a/test/unit/pr_checker.test.js +++ b/test/unit/pr_checker.test.js @@ -223,12 +223,12 @@ describe('PRChecker', () => { const expectedLogs = { ok: - [ [ 'Approvals: 4' ], - [ '- Foo User (@foo): https://github.com/nodejs/node/pull/16438#pullrequestreview-71480624' ], - [ '- Quux User (@Quux): LGTM' ], - [ '- Baz User (@Baz): https://github.com/nodejs/node/pull/16438#pullrequestreview-71488236' ], - [ '- Bar User (@bar) (TSC): lgtm' ] ], - info: [ [ 'This PR was created on Fri, 30 Nov 2018 17:50:44 GMT' ] ] + [['Approvals: 4'], + ['- Foo User (@foo): https://github.com/nodejs/node/pull/16438#pullrequestreview-71480624'], + ['- Quux User (@Quux): LGTM'], + ['- Baz User (@Baz): https://github.com/nodejs/node/pull/16438#pullrequestreview-71488236'], + ['- Bar User (@bar) (TSC): lgtm']], + info: [['This PR was created on Fri, 30 Nov 2018 17:50:44 GMT']] }; const youngPR = Object.assign({}, firstTimerPR, { @@ -368,10 +368,10 @@ describe('PRChecker', () => { const expectedLogs = { ok: - [ [ 'Approvals: 1' ], - [ '- Foo User (@foo): https://github.com/nodejs/node/pull/16438#pullrequestreview-71480624' ] ], + [['Approvals: 1'], + ['- Foo User (@foo): https://github.com/nodejs/node/pull/16438#pullrequestreview-71480624']], info: - [ [ 'This PR was created on Fri, 30 Nov 2018 17:50:44 GMT' ] ] + [['This PR was created on Fri, 30 Nov 2018 17:50:44 GMT']] }; const youngPR = Object.assign({}, firstTimerPR, { @@ -402,9 +402,9 @@ describe('PRChecker', () => { const expectedLogs = { info: - [ [ 'This PR was created on Fri, 30 Nov 2018 17:50:44 GMT' ] ], + [['This PR was created on Fri, 30 Nov 2018 17:50:44 GMT']], error: - [ [ 'Approvals: 0' ] ] + [['Approvals: 0']] }; const youngPR = Object.assign({}, firstTimerPR, {