From 031a3eac04b686dc53202fdc0177c90d1b82d1de Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 16 May 2024 10:30:54 -0500 Subject: [PATCH] EventsDB.test: import order --- src/storages/EventsDB.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storages/EventsDB.test.ts b/src/storages/EventsDB.test.ts index 939406a..2f34379 100644 --- a/src/storages/EventsDB.test.ts +++ b/src/storages/EventsDB.test.ts @@ -2,6 +2,7 @@ import { Database as Sqlite } from '@db/sqlite'; import { DenoSqlite3Dialect } from '@soapbox/kysely-deno-sqlite'; import { assertEquals, assertRejects } from '@std/assert'; import { Kysely } from 'kysely'; +import { generateSecretKey } from 'nostr-tools'; import { Conf } from '@/config.ts'; import { DittoDB } from '@/db/DittoDB.ts'; @@ -12,7 +13,6 @@ import { genEvent } from '@/test.ts'; import event0 from '~/fixtures/events/event-0.json' with { type: 'json' }; import event1 from '~/fixtures/events/event-1.json' with { type: 'json' }; -import { generateSecretKey } from 'nostr-tools'; /** Create in-memory database for testing. */ const createDB = async () => {