refactor: use test
This commit is contained in:
parent
07f885fea8
commit
ed3e035ad6
23 changed files with 342 additions and 342 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue