Skip to content

Commit 438e9e0

Browse files
author
yashksaini-coder
committed
fix(app): fixed test error check of null instead of undefined
1 parent 83e7106 commit 438e9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

registry/coder/modules/vscode-desktop/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe("vscode-desktop", async () => {
127127
(res) => res.type === "coder_script" && res.name === "vscode_desktop_setup",
128128
);
129129

130-
expect(coder_script).toBeNull();
130+
expect(coder_script).toBeUndefined();
131131
});
132132

133133
it("does not create setup script when no extensions or settings", async () => {
@@ -139,6 +139,6 @@ describe("vscode-desktop", async () => {
139139
(res) => res.type === "coder_script" && res.name === "vscode_desktop_setup",
140140
);
141141

142-
expect(coder_script).toBeNull();
142+
expect(coder_script).toBeUndefined();
143143
});
144144
});

0 commit comments

Comments
 (0)