From f163af55d86f00f19f5de47b4c5090bd5cd700a1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 14 May 2024 19:19:57 -0500 Subject: [PATCH] Remove deps-test.ts --- src/deps-test.ts | 1 - src/filter.test.ts | 2 +- src/policies/MuteListPolicy.test.ts | 2 +- src/storages/UserStore.test.ts | 2 +- src/storages/hydrate.test.ts | 2 +- src/tags.test.ts | 2 +- src/utils/expiring-cache.test.ts | 2 +- src/utils/time.test.ts | 2 +- src/workers/fetch.test.ts | 2 +- src/workers/trends.test.ts | 2 +- 10 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 src/deps-test.ts diff --git a/src/deps-test.ts b/src/deps-test.ts deleted file mode 100644 index 3e6da88..0000000 --- a/src/deps-test.ts +++ /dev/null @@ -1 +0,0 @@ -export { assert, assertEquals, assertRejects, assertThrows } from 'https://deno.land/std@0.198.0/assert/mod.ts'; diff --git a/src/filter.test.ts b/src/filter.test.ts index 9983b5a..9379208 100644 --- a/src/filter.test.ts +++ b/src/filter.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import event0 from '~/fixtures/events/event-0.json' with { type: 'json' }; import event1 from '~/fixtures/events/event-1.json' with { type: 'json' }; diff --git a/src/policies/MuteListPolicy.test.ts b/src/policies/MuteListPolicy.test.ts index 2c3baa3..89d7d99 100644 --- a/src/policies/MuteListPolicy.test.ts +++ b/src/policies/MuteListPolicy.test.ts @@ -1,6 +1,6 @@ import { MockRelay } from '@nostrify/nostrify/test'; -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { UserStore } from '@/storages/UserStore.ts'; import { MuteListPolicy } from '@/policies/MuteListPolicy.ts'; diff --git a/src/storages/UserStore.test.ts b/src/storages/UserStore.test.ts index b1955bd..d04ece0 100644 --- a/src/storages/UserStore.test.ts +++ b/src/storages/UserStore.test.ts @@ -1,6 +1,6 @@ import { MockRelay } from '@nostrify/nostrify/test'; -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { UserStore } from '@/storages/UserStore.ts'; import userBlack from '~/fixtures/events/kind-0-black.json' with { type: 'json' }; diff --git a/src/storages/hydrate.test.ts b/src/storages/hydrate.test.ts index f5c70af..1edafd7 100644 --- a/src/storages/hydrate.test.ts +++ b/src/storages/hydrate.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { hydrateEvents } from '@/storages/hydrate.ts'; import { MockRelay } from '@nostrify/nostrify/test'; diff --git a/src/tags.test.ts b/src/tags.test.ts index c4d3214..e49d31a 100644 --- a/src/tags.test.ts +++ b/src/tags.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { addTag, deleteTag, getTagSet } from './tags.ts'; diff --git a/src/utils/expiring-cache.test.ts b/src/utils/expiring-cache.test.ts index 9827de8..8c6d7b1 100644 --- a/src/utils/expiring-cache.test.ts +++ b/src/utils/expiring-cache.test.ts @@ -1,4 +1,4 @@ -import { assert } from '@/deps-test.ts'; +import { assert } from '@std/assert'; import ExpiringCache from './expiring-cache.ts'; diff --git a/src/utils/time.test.ts b/src/utils/time.test.ts index c167caf..f820a1b 100644 --- a/src/utils/time.test.ts +++ b/src/utils/time.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { generateDateRange } from './time.ts'; diff --git a/src/workers/fetch.test.ts b/src/workers/fetch.test.ts index e7283b7..d657d1f 100644 --- a/src/workers/fetch.test.ts +++ b/src/workers/fetch.test.ts @@ -1,4 +1,4 @@ -import { assertEquals, assertRejects } from '@/deps-test.ts'; +import { assertEquals, assertRejects } from '@std/assert'; import { fetchWorker } from '@/workers/fetch.ts'; diff --git a/src/workers/trends.test.ts b/src/workers/trends.test.ts index ef51f23..ca1646e 100644 --- a/src/workers/trends.test.ts +++ b/src/workers/trends.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from '@/deps-test.ts'; +import { assertEquals } from '@std/assert'; import { TrendsWorker } from './trends.ts';