Enables strict mode in nextjs apps (#2354)
- We need this so zod works correctly Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
4ff21deb89
commit
a7f5250b4a
25 files changed
+178
-68
No files matched your search
@@ -7,7 +7,7 @@ import {
|
||||
todo,
|
||||
} from "./lib/testUtils";
|
||||
|
||||
async function bookFirstEvent(page) {
|
||||
async function bookFirstEvent(page: Page) {
|
||||
// Click first event type
|
||||
await page.click('[data-testid="event-type-link"]');
|
||||
await selectFirstAvailableTimeSlotNextMonth(page);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
import { expect, Locator, test } from "@playwright/test";
|
||||
|
||||
import { randomString } from "../lib/random";
|
||||
import { deleteEventTypeByTitle } from "./lib/teardown";
|
||||
@@ -11,8 +11,8 @@ test.describe("Event Types tests", () => {
|
||||
});
|
||||
|
||||
test.describe("pro user", () => {
|
||||
let isCreated;
|
||||
let eventTitle;
|
||||
let isCreated: Locator;
|
||||
let eventTitle: string;
|
||||
|
||||
test.afterAll(async () => {
|
||||
if (isCreated) await deleteEventTypeByTitle(eventTitle);
|
||||
|
||||
Reference in new issue
Block a user