Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 90e15cd

Browse files
committed
fix: update string formatting logic to make tests less likely to flake from modifications
1 parent 5869eb8 commit 90e15cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows-rdp/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe("Web RDP", async () => {
5353
const lines = findWindowsRpdScript(state)
5454
.split("\n")
5555
.filter(Boolean)
56-
.map((line) => line.trimStart());
56+
.map((line) => line.trim());
5757

5858
expect(lines).toEqual(
5959
expect.arrayContaining<string>([

0 commit comments

Comments
 (0)