@@ -5,8 +5,7 @@ import { drizzle, type PgliteDatabase } from 'drizzle-orm/pglite';
55import { migrate } from 'drizzle-orm/pglite/migrator' ;
66import { afterAll , beforeAll , beforeEach , expect , test } from 'vitest' ;
77import { skipTests } from '~/common' ;
8- import { usersMigratorTable , usersTable } from './pg-common' ;
9- import { TestGlobalCache , tests as cacheTests } from './pg-common-cache' ;
8+ import { tests , usersMigratorTable , usersTable } from './pg-common' ;
109
1110const ENABLE_LOGGING = false ;
1211
@@ -21,15 +20,15 @@ beforeAll(async () => {
2120 cachedDb = drizzle ( client , {
2221 logger : ENABLE_LOGGING ,
2322 cache : upstashCache ( {
24- url : 'https://healthy-deer-37505.upstash.io ' ,
25- token : 'AZKBAAIjcDFmYWYwMTA0YTVmNGE0NWZjODU2NWUzZmZkZTRhN2U0MnAxMA ' ,
23+ url : '' ,
24+ token : '' ,
2625 } ) ,
2726 } ) ;
2827 dbGlobalCached = drizzle ( client , {
2928 logger : ENABLE_LOGGING ,
3029 cache : upstashCache ( {
31- url : 'https://healthy-deer-37505.upstash.io ' ,
32- token : 'AZKBAAIjcDFmYWYwMTA0YTVmNGE0NWZjODU2NWUzZmZkZTRhN2U0MnAxMA ' ,
30+ url : '' ,
31+ token : '' ,
3332 global : true ,
3433 } ) ,
3534 } ) ;
@@ -117,8 +116,8 @@ skipTests([
117116 'mySchema :: select with group by as column + sql' ,
118117] ) ;
119118
120- // tests();
121- cacheTests ( ) ;
119+ tests ( ) ;
120+ // cacheTests();
122121
123122beforeEach ( async ( ) => {
124123 await db . execute ( sql `drop schema if exists public cascade` ) ;
0 commit comments