add missing await
This commit is contained in:
Barış Soner Uşaklı
2025-08-27 11:02:12 -04:00
parent 027d6f307c
commit bf279d71b0
2 changed files with 4 additions and 2 deletions

View File

@@ -828,7 +828,7 @@ describe('Pruning', () => {
assert.strictEqual(result.counts.missing, 0);
meta.config.activitypubUserPruneDays = 0;
user.deleteAccount(uid);
await user.deleteAccount(uid);
});
it('should purge the user if they have no content (posts, likes, etc.)', async () => {

View File

@@ -14,7 +14,9 @@ const util = require('util');
process.env.NODE_ENV = process.env.TEST_ENV || 'production';
global.env = process.env.NODE_ENV || 'production';
if (!process.env.hasOwnProperty('CI')) {
process.env.CI = 'true';
}
const winston = require('winston');
const packageInfo = require('../../package.json');