Skip to content

Commit 8354cee

Browse files
fix lint errors
1 parent c460ece commit 8354cee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/authentication.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';
22
import { getUnixTime } from 'date-fns';
33

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

77
test.describe('authentication', () => {
88
test('redirect to login page when unauthenticated', async ({ page }) => {

tests/chat.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Fixtures = {
55
};
66

77
const testEmail = `[email protected]`;
8-
const testPassword = process.env.TEST_USER_PASSWORD!;
8+
const testPassword = process.env.TEST_USER_PASSWORD ?? '';
99

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

0 commit comments

Comments
 (0)