Skip to content

Commit 1219883

Browse files
authored
Merge pull request #9111 from continuedev/snyk-upgrade-8e3d5e462b3584de0b8d109421a2aa54
[Snyk] Upgrade mocha from 11.7.1 to 11.7.5
2 parents 5231a7e + ba750e4 commit 1219883

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

extensions/cli/src/ui/__tests__/TUIChat.slashCommands.test.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,19 @@ describe("TUIChat - Slash Commands Tests", () => {
125125
stdin.write("/title");
126126

127127
let frameAfterCommand = lastFrame();
128-
await waitForCondition(() => {
129-
frameAfterCommand = lastFrame();
130-
131-
return (
132-
frameAfterCommand?.includes(
133-
mode === "remote" ? "Remote Mode" : "/title",
134-
) ?? false
135-
);
136-
});
128+
await waitForCondition(
129+
() => {
130+
frameAfterCommand = lastFrame();
131+
132+
return (
133+
frameAfterCommand?.includes(
134+
mode === "remote" ? "Remote Mode" : "/title",
135+
) ?? false
136+
);
137+
},
138+
5000,
139+
100,
140+
);
137141

138142
if (mode === "remote") {
139143
// In remote mode, /title might not be a valid command, so just check we're in remote mode

extensions/vscode/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@
753753
"jsdom": "^24.0.0",
754754
"lru-cache": "^11.0.2",
755755
"minisearch": "^7.0.0",
756-
"mocha": "^11.7.1",
756+
"mocha": "^11.7.5",
757757
"monaco-editor": "^0.45.0",
758758
"monaco-vscode-textmate-theme-converter": "^0.1.7",
759759
"ncp": "^2.0.0",

0 commit comments

Comments
 (0)