Skip to content

Commit

Permalink
change test case name
Browse files Browse the repository at this point in the history
  • Loading branch information
jihyunlab-phil committed Dec 31, 2023
1 parent 92aefcf commit 7c91ccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/helpers/keypair.helper.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Helper } from '../../src/index';
import * as crypto from 'crypto';

describe('Keypair', () => {
describe('KeyPair', () => {
test('export(privateKey)', () => {
const keyPair = Helper.keyPair.generate.p256();

Expand All @@ -20,7 +20,7 @@ describe('Keypair', () => {
expect(exported).toStrictEqual(publicKey.export({ type: 'spki', format: 'der' }));
});

test('keyPair(x25519)', () => {
test('generate(x25519)', () => {
const keyPairA = Helper.keyPair.generate.x25519({
modulusLength: 256 * 8,
hashAlgorithm: 'sha256',
Expand All @@ -44,7 +44,7 @@ describe('Keypair', () => {
expect(agreeA).toStrictEqual(agreeB);
});

test('keyPair(x448)', () => {
test('generate(x448)', () => {
const keyPairA = Helper.keyPair.generate.x448({
modulusLength: 256 * 8,
hashAlgorithm: 'sha256',
Expand Down

0 comments on commit 7c91ccb

Please sign in to comment.