Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon committed Jan 17, 2025
1 parent c460ece commit 8354cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/authentication.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';
import { getUnixTime } from 'date-fns';

const testEmail = `auth-${getUnixTime(new Date())}@playwright.com`;
const testPassword = process.env.TEST_USER_PASSWORD!;
const testPassword = process.env.TEST_USER_PASSWORD ?? '';

test.describe('authentication', () => {
test('redirect to login page when unauthenticated', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type Fixtures = {
};

const testEmail = `[email protected]`;
const testPassword = process.env.TEST_USER_PASSWORD!;
const testPassword = process.env.TEST_USER_PASSWORD ?? '';

const test = baseTest.extend<Fixtures>({
authenticatedPage: async ({ page }, use) => {
Expand Down

0 comments on commit 8354cee

Please sign in to comment.