chore: fix all Typescript warnings (#8618)
* [CAL-1517] fix all Typescript warnings * solve conflicts * Update stripeCheckoutSession.handler.ts Parse is a guard, so even though the variable is unused the parse itself is needed. * Update ToolbarPlugin.tsx Don't change dependency tree --------- Co-authored-by: gitstart-calcom <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
106 files changed
+425
-319
No files matched your search
@@ -492,6 +492,7 @@ describe("getSchedule", () => {
|
||||
});
|
||||
|
||||
// FIXME: Fix minimumBookingNotice is respected test
|
||||
// eslint-disable-next-line playwright/no-skipped-test
|
||||
test.skip("minimumBookingNotice is respected", async () => {
|
||||
vi.useFakeTimers().setSystemTime(
|
||||
(() => {
|
||||
|
||||
@@ -295,16 +295,24 @@ describe("handleChildrenEventTypes", () => {
|
||||
|
||||
describe("Workflows", () => {
|
||||
it("Links workflows to new and existing assigned members", async () => {
|
||||
const { schedulingType, id, teamId, locations, timeZone, parentId, userId, ...evType } =
|
||||
mockFindFirstEventType({
|
||||
metadata: { managedEventConfig: {} },
|
||||
locations: [],
|
||||
workflows: [
|
||||
{
|
||||
workflowId: 11,
|
||||
} as CompleteWorkflowsOnEventTypes,
|
||||
],
|
||||
});
|
||||
const {
|
||||
schedulingType: _schedulingType,
|
||||
id: _id,
|
||||
teamId: _teamId,
|
||||
locations: _locations,
|
||||
timeZone: _timeZone,
|
||||
parentId: _parentId,
|
||||
userId: _userId,
|
||||
...evType
|
||||
} = mockFindFirstEventType({
|
||||
metadata: { managedEventConfig: {} },
|
||||
locations: [],
|
||||
workflows: [
|
||||
{
|
||||
workflowId: 11,
|
||||
} as CompleteWorkflowsOnEventTypes,
|
||||
],
|
||||
});
|
||||
prismaMock.$transaction.mockResolvedValue([{ id: 2 }]);
|
||||
await updateChildrenEventTypes({
|
||||
eventTypeId: 1,
|
||||
|
||||
Reference in new issue
Block a user