File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev-packages/browser-integration-tests/suites/integrations/supabase/auth Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99} from '../../../../utils/helpers' ;
1010
1111async function mockSupabaseAuthRoutesSuccess ( page : Page ) {
12- await page . route ( '**/ auth/v1/token?grant_type=password**' , route => {
12+ await page . route ( / \/ a u t h \ /v 1 \ /t o k e n \ ?g r a n t _ t y p e = p a s s w o r d / , route => {
1313 return route . fulfill ( {
1414 status : 200 ,
1515 body : JSON . stringify ( {
@@ -38,7 +38,7 @@ async function mockSupabaseAuthRoutesSuccess(page: Page) {
3838}
3939
4040async function mockSupabaseAuthRoutesFailure ( page : Page ) {
41- await page . route ( '**/ auth/v1/token?grant_type=password**' , route => {
41+ await page . route ( / \/ a u t h \ /v 1 \ /t o k e n \ ?g r a n t _ t y p e = p a s s w o r d / , route => {
4242 return route . fulfill ( {
4343 status : 400 ,
4444 body : JSON . stringify ( {
You can’t perform that action at this time.
0 commit comments