mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 17:30:25 -04:00
12989ba7fe
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Some small styling brush ups and experimental for internal telemetry tools. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Developer toolbar redesigned with compact event/flag lists, “Copy JSON” per event, and a fixed draggable trigger that snaps and remembers its position. Toolbar is now available in staging and local environments. * **Bug Fixes** * ConfigCat readiness wait ensures flags load correctly. * Feature flag loading made resilient so one provider’s failure won’t block the other. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Sean Oliver <882952+seanoliver@users.noreply.github.com>
21 lines
465 B
TypeScript
21 lines
465 B
TypeScript
import path from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'next/image': path.resolve(__dirname, './__mocks__/next-image.tsx'),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
setupFiles: ['./vitest.setup.ts'],
|
|
reporters: [['default']],
|
|
coverage: {
|
|
reporter: ['lcov'],
|
|
exclude: ['**/*.test.ts', '**/*.test.tsx'],
|
|
include: ['**/*.ts', '**/*.tsx'],
|
|
},
|
|
},
|
|
})
|