File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { Database } from './supabse.types.ts';
3
3
4
4
const supabaseUrl = 'https://gfdlxyizcyatrunsajun.supabase.co' ;
5
5
const supabaseKey = import . meta. env . VITE_SUPABASE_KEY as string ;
6
- const supabase = createClient < Database > ( supabaseUrl , supabaseKey ) ;
6
+ const supabase = createClient < Database > ( supabaseUrl , supabaseKey ?? 'supabase key for passing test' ) ;
7
7
8
8
export default supabase ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ vi.mock('@/supabase');
13
13
describe ( 'ChangePassword' , async ( ) => {
14
14
beforeEach ( ( ) => {
15
15
render ( < ChangePasswordForm /> , { wrapper } ) ;
16
- process . env . VITE_SUPABASE_KEY = 'useless_test_api_key' ;
17
16
} ) ;
18
17
afterEach ( ( ) => {
19
18
vi . resetAllMocks ( ) ;
You can’t perform that action at this time.
0 commit comments