Skip to content

Commit

Permalink
even prettier
Browse files Browse the repository at this point in the history
Signed-off-by: 2byrds <[email protected]>
  • Loading branch information
2byrds committed May 8, 2024
1 parent 6729d98 commit 356ac6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/app/clienting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,9 @@ describe('SignifyClient', () => {
.get(HEADER_SIG_INPUT)
?.split(';created=')[1]
.split(';keyid=')[0];
const data = `\"@method\": POST\n\"@path\": /test\n\"signify-resource\": ELUvZ8aJEHAQE-0nsevyYTP98rBbGJUrTj5an-pCmwrK\n\"signify-timestamp\": ${lastHeaders.get(
const data = `"@method": POST\n"@path": /test\n"signify-resource": ELUvZ8aJEHAQE-0nsevyYTP98rBbGJUrTj5an-pCmwrK\n"signify-timestamp": ${lastHeaders.get(
HEADER_SIG_TIME
)}\n\"@signature-params: (@method @path signify-resource signify-timestamp);created=${created};keyid=BPmhSfdhCPxr3EqjxzEtF8TVy0YX7ATo0Uc8oo2cnmY9;alg=ed25519\"`;
)}\n"@signature-params: (@method @path signify-resource signify-timestamp);created=${created};keyid=BPmhSfdhCPxr3EqjxzEtF8TVy0YX7ATo0Uc8oo2cnmY9;alg=ed25519"`;

if (data) {
const raw = new TextEncoder().encode(data);
Expand Down

0 comments on commit 356ac6b

Please sign in to comment.