mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Remove deps-test.ts
This commit is contained in:
parent
2fd50261f9
commit
f163af55d8
10 changed files with 9 additions and 10 deletions
|
|
@ -1 +0,0 @@
|
||||||
export { assert, assertEquals, assertRejects, assertThrows } from 'https://deno.land/std@0.198.0/assert/mod.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 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' };
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue