Skip to content

Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.

873 B
Raw Blame
import assert from "node:assert/strict";
import test from "node:test";

import {
  DEFAULT_NARRATION_LANGUAGE,
  isNarrationLanguage,
  NARRATION_LANGUAGES,
  narrationLanguageLabel,
} from "./narration";

test("narration exposes all Whisper languages alphabetically with English as the default", () => {
  const codes = NARRATION_LANGUAGES.map(({ code }) => code);
  const labels = NARRATION_LANGUAGES.map(({ label }) => label);

  assert.equal(NARRATION_LANGUAGES.length, 99);
  assert.equal(new Set(codes).size, NARRATION_LANGUAGES.length);
  assert.deepEqual(labels, [...labels].sort((left, right) => left.localeCompare(right, "en")));
  assert.equal(DEFAULT_NARRATION_LANGUAGE, "en");
  assert.equal(narrationLanguageLabel(DEFAULT_NARRATION_LANGUAGE), "English");
  assert.equal(isNarrationLanguage("haw"), true);
  assert.equal(isNarrationLanguage("xx"), false);
});