Skip to content

Commit

Permalink
fix: rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Oct 29, 2021
1 parent 67617d7 commit b4d15a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions __tests__/ellipticalCurve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getKeyPair, getStarkKey, hashCalldata, hashMessage, pedersen, sign } fr
import { removeHexPrefix } from '../src/utils/encode';
import { toBN, toHex } from '../src/utils/number';

test('does work with package', () => {
test('getKeyPair()', () => {
const pk = '0x019800ea6a9a73f94aee6a3d2edf018fc770443e90c7ba121e8303ec6b349279';
const pair = getKeyPair(pk);
// somehow needed, returns error else
Expand All @@ -11,7 +11,7 @@ test('does work with package', () => {
);
});

test('pedersen', () => {
test('pedersen()', () => {
const own = pedersen(['0x12773', '0x872362']);
expect(own).toMatchSnapshot();
});
Expand All @@ -27,6 +27,7 @@ test('hashCalldata()', () => {
'0x2ab889bd35e684623df9b4ea4a4a1f6d9e0ef39b67c1293b8a89dd17e351235'
);
});

test('hashMessage()', () => {
const pk = '0x019800ea6a9a73f94aee6a3d2edf018fc770443e90c7ba121e8303ec6b349279';
const hashMsg = hashMessage(
Expand Down

0 comments on commit b4d15a7

Please sign in to comment.