Skip to content

Commit

Permalink
Fix tests build
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Nov 24, 2023
1 parent b017d4d commit f3e9a38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/tests/src/api/activitypub/security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {
buildGlobalHTTPHeaders,
signAndContextify
} from '@peertube/peertube-server/core/helpers/activity-pub-utils.js'
import { buildDigest, signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'
import { buildDigest } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'
import { signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-jsonld.js'
import { ACTIVITY_PUB, HTTP_SIGNATURE } from '@peertube/peertube-server/core/initializers/constants.js'
import { makePOSTAPRequest } from '@tests/shared/requests.js'
import { SQLCommand } from '@tests/shared/sql-command.js'
Expand Down
8 changes: 2 additions & 6 deletions packages/tests/src/server-helpers/activitypub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@

import { buildAbsoluteFixturePath } from '@peertube/peertube-node-utils'
import { signAndContextify } from '@peertube/peertube-server/core/helpers/activity-pub-utils.js'
import {
isHTTPSignatureVerified,
isJsonLDSignatureVerified,
parseHTTPSignature,
signJsonLDObject
} from '@peertube/peertube-server/core/helpers/peertube-crypto.js'
import { isHTTPSignatureVerified, parseHTTPSignature } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'
import { isJsonLDSignatureVerified, signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-jsonld.js'
import { buildRequestStub } from '@tests/shared/tests.js'
import { expect } from 'chai'
import { readJsonSync } from 'fs-extra/esm'
Expand Down

0 comments on commit f3e9a38

Please sign in to comment.