update tests, add journal trimming

This commit is contained in:
Henry Jameson 2026-03-23 15:17:48 +02:00
commit 8ee71cdfff
5 changed files with 124 additions and 32 deletions

View file

@ -5,10 +5,10 @@ import 'virtual:pleroma-fe/service_worker_env'
import { createI18n } from 'vue-i18n'
import { storage } from 'src/lib/storage.js'
import { instanceDefaultConfig } from 'src/modules/default_config_state.js'
import { parseNotification } from 'src/services/entity_normalizer/entity_normalizer.service.js'
import { prepareNotificationObject } from 'src/services/notification_utils/notification_utils.js'
import { cacheKey, emojiCacheKey, shouldCache } from 'src/services/sw/sw.js'
import { instanceDefaultConfig } from 'src/modules/default_config_state.js'
// Collects all messages for service workers
// Needed because service workers cannot use dynamic imports