Merge branch 'rm-deps-test' into 'main'

Remove deps-test.ts

See merge request soapbox-pub/ditto!256
This commit is contained in:
Alex Gleason 2024-05-15 00:50:39 +00:00
commit b00ac8c768
10 changed files with 9 additions and 10 deletions

View File

@ -1 +0,0 @@
export { assert, assertEquals, assertRejects, assertThrows } from 'https://deno.land/std@0.198.0/assert/mod.ts';

View File

@ -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 event0 from '~/fixtures/events/event-0.json' with { type: 'json' };
import event1 from '~/fixtures/events/event-1.json' with { type: 'json' }; import event1 from '~/fixtures/events/event-1.json' with { type: 'json' };

View File

@ -1,6 +1,6 @@
import { MockRelay } from '@nostrify/nostrify/test'; import { MockRelay } from '@nostrify/nostrify/test';
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { UserStore } from '@/storages/UserStore.ts'; import { UserStore } from '@/storages/UserStore.ts';
import { MuteListPolicy } from '@/policies/MuteListPolicy.ts'; import { MuteListPolicy } from '@/policies/MuteListPolicy.ts';

View File

@ -1,6 +1,6 @@
import { MockRelay } from '@nostrify/nostrify/test'; import { MockRelay } from '@nostrify/nostrify/test';
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { UserStore } from '@/storages/UserStore.ts'; import { UserStore } from '@/storages/UserStore.ts';
import userBlack from '~/fixtures/events/kind-0-black.json' with { type: 'json' }; import userBlack from '~/fixtures/events/kind-0-black.json' with { type: 'json' };

View File

@ -1,4 +1,4 @@
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { hydrateEvents } from '@/storages/hydrate.ts'; import { hydrateEvents } from '@/storages/hydrate.ts';
import { MockRelay } from '@nostrify/nostrify/test'; import { MockRelay } from '@nostrify/nostrify/test';

View File

@ -1,4 +1,4 @@
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { addTag, deleteTag, getTagSet } from './tags.ts'; import { addTag, deleteTag, getTagSet } from './tags.ts';

View File

@ -1,4 +1,4 @@
import { assert } from '@/deps-test.ts'; import { assert } from '@std/assert';
import ExpiringCache from './expiring-cache.ts'; import ExpiringCache from './expiring-cache.ts';

View File

@ -1,4 +1,4 @@
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { generateDateRange } from './time.ts'; import { generateDateRange } from './time.ts';

View File

@ -1,4 +1,4 @@
import { assertEquals, assertRejects } from '@/deps-test.ts'; import { assertEquals, assertRejects } from '@std/assert';
import { fetchWorker } from '@/workers/fetch.ts'; import { fetchWorker } from '@/workers/fetch.ts';

View File

@ -1,4 +1,4 @@
import { assertEquals } from '@/deps-test.ts'; import { assertEquals } from '@std/assert';
import { TrendsWorker } from './trends.ts'; import { TrendsWorker } from './trends.ts';