refactor: use test

This commit is contained in:
syuilo 2023-02-02 18:18:25 +09:00
parent 07f885fea8
commit ed3e035ad6
23 changed files with 342 additions and 342 deletions

View file

@ -19,7 +19,7 @@ export const buildParsedSignature = (signingString: string, signature: string, a
};
describe('ap-request', () => {
it('createSignedPost with verify', async () => {
test('createSignedPost with verify', async () => {
const keypair = await genRsaKeyPair();
const key = { keyId: 'x', 'privateKeyPem': keypair.privateKey };
const url = 'https://example.com/inbox';
@ -37,7 +37,7 @@ describe('ap-request', () => {
assert.deepStrictEqual(result, true);
});
it('createSignedGet with verify', async () => {
test('createSignedGet with verify', async () => {
const keypair = await genRsaKeyPair();
const key = { keyId: 'x', 'privateKeyPem': keypair.privateKey };
const url = 'https://example.com/outbox';