Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/dataview/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Impressum runtime-api.test.ts   Interaktion und
Portierbarkeitunbekannt

 
import { describe, expect, it } from "vitest";
import { runDirectImportSmoke } from "../../test/helpers/plugins/direct-smoke.js";

describe("irc bundled api seams", () => {
  it("loads narrow public api modules in direct smoke", async () => {
    const stdout = await runDirectImportSmoke(
      `const channel = await import("./extensions/irc/channel-plugin-api.ts");
const runtime = await import("./extensions/irc/runtime-api.ts");
process.stdout.write(JSON.stringify({
  channel: { keys: Object.keys(channel).sort(), id: channel.ircPlugin.id },
  runtime: { keys: Object.keys(runtime).sort(), type: typeof runtime.setIrcRuntime },
}));`,
    );

    expect(stdout).toBe(
      '{"channel":{"keys":["ircPlugin"],"id":"irc"},"runtime":{"keys":["setIrcRuntime"],"type":"function"}}',
    );
  }, 45_000);
});

Messung V0.5 in Prozent
C=100 H=100 G=100

[Seitenstruktur0.11Druckenetwas mehr zur Ethik2026-06-10]