Commit Graph

23 Commits

Author SHA1 Message Date
P. Reis
e1cd1777e3 test: add author_search table in createTestDB to drop it after use 2024-09-13 10:30:10 -03:00
Alex Gleason
d2fb3fd253 Make EventsDB not rely on Conf 2024-09-11 13:06:20 -05:00
Alex Gleason
fad40f1c30 createTestDB: don't accept an arg 2024-09-11 11:57:28 -05:00
Alex Gleason
f3ae200833 Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
Alex Gleason
dc8d09a9da Remove SQLite support 2024-09-11 11:08:33 -05:00
Alex Gleason
617659c7fd Fix DittoDB+EventsDB relationship 2024-08-12 15:13:49 -05:00
Alex Gleason
5e4a94457f Fix tests 2024-08-12 14:57:17 -05:00
Alex Gleason
db6417bad9 Upgrade to Nostrify v0.30.0 2024-08-05 15:45:02 -05:00
Alex Gleason
49bf38d27b Fix kysely dependency version mismatch 2024-07-31 15:00:05 -05:00
P. Reis
842b527273 test: update to use kysely-postgres-js 2024-07-16 14:47:14 -03:00
P. Reis
8afc3bca3d refactor: order of imports 2024-07-16 14:06:32 -03:00
P. Reis
cf4ee051db Merge branch 'main' into search-nip05-enhance-and-postgres-support-testing 2024-07-16 13:58:47 -03:00
Alex Gleason
cd961dad86 delay -> sleep, style tweaks 2024-07-11 17:19:47 -05:00
P. Reis
01966496c1 feat: print which dialect is being used when calling createTestDB 2024-07-05 18:49:37 -03:00
P. Reis
fed0c70f69 feat: only run tests with Postgres if ALLOW_TO_USE_DATABASE_URL is set to true 2024-07-05 18:33:29 -03:00
P. Reis
7e965f4ade refactor(test.ts): explain why set DATABASE_URL to sqlite://:memory: 2024-07-05 17:59:12 -03:00
P. Reis
2154cf011b test: create createTestDB function, supports both Sqlite and Postgres 2024-07-05 17:26:27 -03:00
Siddharth Singh
65f77e845d fmt 2024-07-01 21:43:01 +05:30
Siddharth Singh
98aaab8e51 switch to deno.land/postgresjs for free 4x speed increase 2024-07-01 21:42:50 +05:30
Alex Gleason
14e5948394 Add assembleEvents bench 2024-05-25 10:33:23 -05:00
Alex Gleason
34f3cc8d24 Fully test the new stats module 2024-05-24 15:52:30 -05:00
Alex Gleason
4df2c7ba9c Improve EventsDB error handling 2024-05-16 10:29:14 -05:00
Alex Gleason
282612b53c Add an eventFixture function to import fixtures in tests 2024-05-10 14:10:19 -05:00