diff --git a/src/filter.test.ts b/src/filter.test.ts index 5909fc6..9983b5a 100644 --- a/src/filter.test.ts +++ b/src/filter.test.ts @@ -1,7 +1,7 @@ import { assertEquals } from '@/deps-test.ts'; -import event0 from '~/fixtures/events/event-0.json' assert { type: 'json' }; -import event1 from '~/fixtures/events/event-1.json' assert { type: 'json' }; +import event0 from '~/fixtures/events/event-0.json' with { type: 'json' }; +import event1 from '~/fixtures/events/event-1.json' with { type: 'json' }; import { eventToMicroFilter, getFilterId, getFilterLimit, getMicroFilters, isMicrofilter } from './filter.ts'; diff --git a/src/storages/events-db.test.ts b/src/storages/events-db.test.ts index 5b09af3..896770f 100644 --- a/src/storages/events-db.test.ts +++ b/src/storages/events-db.test.ts @@ -2,8 +2,8 @@ import { db } from '@/db.ts'; import { buildUserEvent } from '@/db/users.ts'; import { assertEquals, assertRejects } from '@/deps-test.ts'; -import event0 from '~/fixtures/events/event-0.json' assert { type: 'json' }; -import event1 from '~/fixtures/events/event-1.json' assert { type: 'json' }; +import event0 from '~/fixtures/events/event-0.json' with { type: 'json' }; +import event1 from '~/fixtures/events/event-1.json' with { type: 'json' }; import { EventsDB } from './events-db.ts';