From e49e272f7a4084664de515d50e15182e46cac439 Mon Sep 17 00:00:00 2001 From: Tyler Myracle Date: Sun, 21 Jan 2024 21:24:22 -0600 Subject: [PATCH] clean up --- apps/e2e/src/support/commands.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apps/e2e/src/support/commands.ts b/apps/e2e/src/support/commands.ts index be619a25..cac8d769 100644 --- a/apps/e2e/src/support/commands.ts +++ b/apps/e2e/src/support/commands.ts @@ -29,19 +29,6 @@ Cypress.Commands.add('apiRequest', ({ url, headers = {}, ...options }, ...rest) ) }) -Cypress.Commands.add('nextApiRequest', ({ url, headers = {}, ...options }, ...rest) => { - return cy.request( - { - url: `${Cypress.env('NEXTAUTH_URL')}/${url}`, - headers: { - ...headers, - }, - ...options, - }, - ...rest - ) -}) - Cypress.Commands.add('login', () => { cy.visit('/login') cy.get('input[name="email"]').type('test@test.com')