mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
* Remove jest and add vitest in its place. Refactor the jest setup into vitest. * Modify the expect extensions to work with vitest. * FIx the tests.
12 lines
266 B
TypeScript
12 lines
266 B
TypeScript
import { config } from 'dotenv'
|
|
import { statSync } from 'fs'
|
|
import './test/extensions'
|
|
|
|
if (!process.env.CI) {
|
|
// Use keys from studio .env.local for local tests
|
|
const envPath = '../../apps/studio/.env.local'
|
|
|
|
statSync(envPath)
|
|
config({ path: envPath })
|
|
}
|