From 4fdc82169512602c23a373aa370c50686168f601 Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Mon, 1 Jan 2018 13:08:12 -0600 Subject: [PATCH] chore(package): update @types/react to version 16.0.31 (#607) Closes #574 --- package.json | 2 +- spec/integration/derivationChecker.int.ts | 6 +++--- spec/utils/formatters.spec.ts | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index b12aa702..72599850 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@types/qrcode": "0.8.0", "@types/qrcode.react": "0.6.2", "@types/query-string": "5.0.1", - "@types/react": "16.0.29", + "@types/react": "16.0.31", "@types/react-dom": "16.0.3", "@types/react-redux": "5.0.14", "@types/react-router-dom": "4.2.3", diff --git a/spec/integration/derivationChecker.int.ts b/spec/integration/derivationChecker.int.ts index e80f5b48..487ffe78 100644 --- a/spec/integration/derivationChecker.int.ts +++ b/spec/integration/derivationChecker.int.ts @@ -25,9 +25,9 @@ function makeCommaSeparatedPrivateKeys(privKeyWallets: IFullWallet[]): string { } async function privToAddrViaDocker(privKeyWallets: IFullWallet[]): Promise { - const command = `docker run -e key=${makeCommaSeparatedPrivateKeys(privKeyWallets)} ${ - dockerImage - }:${dockerTag}`; + const command = `docker run -e key=${makeCommaSeparatedPrivateKeys( + privKeyWallets + )} ${dockerImage}:${dockerTag}`; const dockerOutput = await promiseFromChildProcess(command); const newlineStrippedDockerOutput = dockerOutput.replace(/(\r\n|\n|\r)/gm, ''); return newlineStrippedDockerOutput; diff --git a/spec/utils/formatters.spec.ts b/spec/utils/formatters.spec.ts index 6ea673ec..ca03587c 100644 --- a/spec/utils/formatters.spec.ts +++ b/spec/utils/formatters.spec.ts @@ -73,9 +73,9 @@ describe('formatNumber', () => { pairs.forEach(pair => { const digits = pair.digits; - it(`should convert ${pair.input.toString()} to ${pair.output} when using ${ - digits - } digits`, () => { + it(`should convert ${pair.input.toString()} to ${ + pair.output + } when using ${digits} digits`, () => { expect(formatNumber(pair.input, pair.digits)).toEqual(pair.output); }); });