Skip to content

Commit e7ed9d9

Browse files
committed
fix test
1 parent ed53947 commit e7ed9d9

File tree

1 file changed

+2
-2
lines changed
  • dev-packages/browser-integration-tests/suites/integrations/supabase/auth

1 file changed

+2
-2
lines changed

dev-packages/browser-integration-tests/suites/integrations/supabase/auth/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '../../../../utils/helpers';
1010

1111
async function mockSupabaseAuthRoutesSuccess(page: Page) {
12-
await page.route('**/auth/v1/token?grant_type=password**', route => {
12+
await page.route(/\/auth\/v1\/token\?grant_type=password/, route => {
1313
return route.fulfill({
1414
status: 200,
1515
body: JSON.stringify({
@@ -38,7 +38,7 @@ async function mockSupabaseAuthRoutesSuccess(page: Page) {
3838
}
3939

4040
async function mockSupabaseAuthRoutesFailure(page: Page) {
41-
await page.route('**/auth/v1/token?grant_type=password**', route => {
41+
await page.route(/\/auth\/v1\/token\?grant_type=password/, route => {
4242
return route.fulfill({
4343
status: 400,
4444
body: JSON.stringify({

0 commit comments

Comments
 (0)