mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
test: adjust test runner detection in AP code
This commit is contained in:
@@ -338,7 +338,7 @@ async function sendMessage(uri, id, type, payload, attempts = 1) {
|
||||
const headers = await ActivityPub.sign(keyData, uri, payload);
|
||||
|
||||
ActivityPub.helpers.log(`[activitypub/send] ${uri}`);
|
||||
if (process.env.CI === 'true') {
|
||||
if (process.env.hasOwnProperty('CI')) {
|
||||
ActivityPub._sent.set(payload.id, payload);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user