chore(package): update @types/react to version 16.0.31 (#607)
Closes #574
This commit is contained in:
parent
0710f22291
commit
4fdc821695
|
@ -54,7 +54,7 @@
|
||||||
"@types/qrcode": "0.8.0",
|
"@types/qrcode": "0.8.0",
|
||||||
"@types/qrcode.react": "0.6.2",
|
"@types/qrcode.react": "0.6.2",
|
||||||
"@types/query-string": "5.0.1",
|
"@types/query-string": "5.0.1",
|
||||||
"@types/react": "16.0.29",
|
"@types/react": "16.0.31",
|
||||||
"@types/react-dom": "16.0.3",
|
"@types/react-dom": "16.0.3",
|
||||||
"@types/react-redux": "5.0.14",
|
"@types/react-redux": "5.0.14",
|
||||||
"@types/react-router-dom": "4.2.3",
|
"@types/react-router-dom": "4.2.3",
|
||||||
|
|
|
@ -25,9 +25,9 @@ function makeCommaSeparatedPrivateKeys(privKeyWallets: IFullWallet[]): string {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function privToAddrViaDocker(privKeyWallets: IFullWallet[]): Promise<string> {
|
async function privToAddrViaDocker(privKeyWallets: IFullWallet[]): Promise<string> {
|
||||||
const command = `docker run -e key=${makeCommaSeparatedPrivateKeys(privKeyWallets)} ${
|
const command = `docker run -e key=${makeCommaSeparatedPrivateKeys(
|
||||||
dockerImage
|
privKeyWallets
|
||||||
}:${dockerTag}`;
|
)} ${dockerImage}:${dockerTag}`;
|
||||||
const dockerOutput = await promiseFromChildProcess(command);
|
const dockerOutput = await promiseFromChildProcess(command);
|
||||||
const newlineStrippedDockerOutput = dockerOutput.replace(/(\r\n|\n|\r)/gm, '');
|
const newlineStrippedDockerOutput = dockerOutput.replace(/(\r\n|\n|\r)/gm, '');
|
||||||
return newlineStrippedDockerOutput;
|
return newlineStrippedDockerOutput;
|
||||||
|
|
|
@ -73,9 +73,9 @@ describe('formatNumber', () => {
|
||||||
|
|
||||||
pairs.forEach(pair => {
|
pairs.forEach(pair => {
|
||||||
const digits = pair.digits;
|
const digits = pair.digits;
|
||||||
it(`should convert ${pair.input.toString()} to ${pair.output} when using ${
|
it(`should convert ${pair.input.toString()} to ${
|
||||||
digits
|
pair.output
|
||||||
} digits`, () => {
|
} when using ${digits} digits`, () => {
|
||||||
expect(formatNumber(pair.input, pair.digits)).toEqual(pair.output);
|
expect(formatNumber(pair.input, pair.digits)).toEqual(pair.output);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue