Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Jun 20, 2024
1 parent 9c4cf34 commit d5533d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions end-to-end-tests/fixtures/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const profileNameFromTestPath = (testFilePath: string) => {
const fileName = parts.at(-1);

// Split the file name into words and return the first word
const words = fileName?.split(".") || ["unknown"];
return words[0];
const words = fileName?.split(".");
return words?.[0] || "unknown";
};

// Create a local auth directory to store the profile paths
Expand Down

0 comments on commit d5533d1

Please sign in to comment.