GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(web): specify the initial model in each setup case · pingdotgg/t3code@380f6df

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src/speech
    • useEnvironmentSpeechInput.browser.test.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/speech/useEnvironmentSpeechInput.browser.test.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/speech/useEnvironmentSpeechInput.browser.test.tsx
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ it.each([
650650
["german"],
651651
null,
652652
false,
653+
"english",
653654
],
654655
[
655656
"selects the downloaded model after another client changed the selection",
@@ -665,27 +666,30 @@ it.each([
665666
[],
666667
"The model is not ready. Try downloading it again.",
667668
true,
669+
"english",
668670
],
669671
[
670672
"keeps setup open when an external cancellation leaves the weights installed",
671673
"installed",
672674
[],
673675
"The model is not ready. Try downloading it again.",
674676
true,
677+
"english",
675678
],
676679
[
677680
"reports a failed selection apart from the download",
678681
"installed",
679682
["german"],
680683
"The model downloaded, but this environment could not select it. Try again.",
681684
false,
685+
"english",
682686
],
683687
] as const)("%s", async (_, landedState, selected, error, cancelled, initialModelId) => {
684688
setup({ destination: "env-a" });
685689
using _languages = vi.spyOn(navigator, "languages", "get").mockReturnValue(["de-DE"]);
686690
mocks.selectionFails = error !== null && !cancelled;
687691
mocks.modelState = "missing-model";
688-
mocks.statusModelId = initialModelId ?? "english";
692+
mocks.statusModelId = initialModelId;
689693
mocks.models = [catalogModel("english", ["en"], true), catalogModel("german", ["de"], true)];
690694
mocks.download.mockImplementation(async () => {
691695
mocks.models = [

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.