chore(package): update @types/react to version 16.0.31 (#607)

Closes #574
This commit is contained in:
Daniel Ternyak 2018-01-01 13:08:12 -06:00 committed by GitHub
parent 0710f22291
commit 4fdc821695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -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",

View File

@ -25,9 +25,9 @@ function makeCommaSeparatedPrivateKeys(privKeyWallets: IFullWallet[]): string {
}
async function privToAddrViaDocker(privKeyWallets: IFullWallet[]): Promise<string> {
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;

View File

@ -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);
});
});