major refactor

This commit is contained in:
BlueSkiesAndGreenPastures
2025-06-20 09:57:20 -05:00
parent 0a5d9f0452
commit 2daf20874d
4 changed files with 101 additions and 125 deletions
+1 -8
View File
@@ -81,9 +81,8 @@ describe('link service', async () => {
reason: ToolsOzoneSafelinkDefs.SPAM,
createdBy: 'did:example:admin',
createdAt: now,
comment: 'BONES has been erroneously blocked by due to an error',
comment: 'BONES has been erroneously blocked for the sake of this test',
})
// Ensure 'later' is after 'now'
const later = new Date(Date.now() + 1000).toISOString()
linkService.ctx.cfg.eventCache.smartUpdate({
$type: 'tools.ozone.safelink.defs#event',
@@ -98,12 +97,6 @@ describe('link service', async () => {
comment:
'BONES has been resurrected to bring good music to the world once again',
})
console.log(
linkService.ctx.cfg.eventCache.smartGet(
'https://www.instagram.com/teamseshbones/?hl=en',
),
)
})
after(async () => {
await linkService?.destroy()