Skip to content

Commit

Permalink
fix of typechceck error
Browse files Browse the repository at this point in the history
  • Loading branch information
JurreBrandsenInfoSupport committed Apr 11, 2024
1 parent 76cdf68 commit e129799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/server/api/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ZodError } from "zod";

import { getServerAuthSession } from "~/server/auth";
import { db } from "~/server/db";
import { env } from "~/env";

/**
* 1. CONTEXT
Expand Down
3 changes: 2 additions & 1 deletion tests/tech-survey.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ const navigateAndCheckSurveyPage = async (
selectedRoles = roles;
} else {
selectedRoles = (await landingPage.selectRandomRoles()).filter(
(role) => role !== undefined,
(role): role is string => typeof role === "string",
);
}

await landingPage.navigateToSurveyPage();
await surveyPage.getCurrentURL();
const sortedSelectedRoles =
Expand Down

0 comments on commit e129799

Please sign in to comment.