1
0
mirror of synced 2025-11-09 05:17:24 +00:00

chore(package): update dependencies (#194)

This commit is contained in:
Jason Dreyzehner
2019-07-09 23:29:27 -04:00
committed by GitHub
parent 8eaf9636c6
commit f033e7cebc
13 changed files with 3037 additions and 5544 deletions

View File

@@ -1,18 +1,13 @@
// tslint:disable:no-expression-statement no-object-mutation
import test, { Macro } from 'ava';
import test from 'ava';
import { sha256, sha256Native } from './hash';
const hash: Macro = (t, input: string, expected: string) => {
t.is(sha256(input), expected);
t.is(sha256Native(input), expected);
};
hash.title = (providedTitle: string, input: string, expected: string) =>
`${providedTitle}: ${input} => ${expected}`;
test(
'sha256',
hash,
(t, input: string, expected: string) => {
t.is(sha256(input), expected);
t.is(sha256Native(input), expected);
},
'test',
'9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08'
);