We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084364b commit d9c5941Copy full SHA for d9c5941
test/unit/draft.ts
@@ -1,7 +1,7 @@
1
import { describe, expect, test } from '@jest/globals';
2
import httpSignature from '@peertube/http-signature';
3
4
-import { genDraftSigningString, signAsDraftToRequest } from '@/draft/sign.js';
+import { signAsDraftToRequest } from '@/draft/sign.js';
5
import { verifyDraftSignature } from '@/draft/verify.js';
6
import { parseRequestSignature, ClockSkewInvalidError } from '@/shared/parse.js';
7
import * as keys from '../keys.js';
@@ -10,6 +10,7 @@ import { importPrivateKey } from '@/pem/pkcs8.js';
10
import { importPublicKey } from '@/pem/spki.js';
11
import jest from 'jest-mock';
12
import { HeadersLike } from '@/types.js';
13
+import { genDraftSigningString } from '@/draft/string.js';
14
15
//#region data
16
const theDate = new Date('2024-02-28T17:44:06.000Z');
0 commit comments