Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
test(hud): press Enter on the focused Keep button
超超超超超级喜欢你的达妮娅a99596675428
diff --git a/src/components/launch/LaunchWindow.test.tsx b/src/components/launch/LaunchWindow.test.tsxindex 231b94f27..ff8cb4793 100644--- a/src/components/launch/LaunchWindow.test.tsx+++ b/src/components/launch/LaunchWindow.test.tsx@@ -2277,9 +2277,12 @@ describe("LaunchWindow system language prompt", () => {it("leaves Enter to a control that has focus", async () => {renderLaunchWindow();const keep = await screen.findByRole("button", { name: "Keep current language" });+ const user = userEvent.setup();- fireEvent.keyDown(keep, { key: "Enter" });+ keep.focus();+ await user.keyboard("{Enter}");+ expect(i18nState.value.dismissSystemLocaleSuggestion).toHaveBeenCalledTimes(1);expect(i18nState.value.acceptSystemLocaleSuggestion).not.toHaveBeenCalled();});