mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
test: refresh release expectations to match current code (#5150)
Integrated into release/v3.8.38 (test-only base-red alignment extracted from #5150)
This commit is contained in:
@@ -121,7 +121,7 @@ test("INTENTIONALLY_INTERNAL is exported from check-db-rules.mjs", () => {
|
||||
assert.ok(INTENTIONALLY_INTERNAL.size > 0, "INTENTIONALLY_INTERNAL must not be empty");
|
||||
});
|
||||
|
||||
test("INTENTIONALLY_INTERNAL contains the expected 32 audited modules", () => {
|
||||
test("INTENTIONALLY_INTERNAL contains the expected 33 audited modules", () => {
|
||||
const expected = [
|
||||
"_rowTypes",
|
||||
"accessTokens",
|
||||
@@ -155,6 +155,7 @@ test("INTENTIONALLY_INTERNAL contains the expected 32 audited modules", () => {
|
||||
"stats",
|
||||
"tierConfig",
|
||||
"vacuumScheduler",
|
||||
"webSessionDedup",
|
||||
];
|
||||
for (const mod of expected) {
|
||||
assert.ok(
|
||||
|
||||
@@ -64,8 +64,8 @@ test("getKnownPlan('') returns null", () => {
|
||||
assert.equal(getKnownPlan(""), null);
|
||||
});
|
||||
|
||||
test("knownProviders() returns exactly 10 entries", () => {
|
||||
assert.equal(knownProviders().length, 10);
|
||||
test("knownProviders() returns exactly 11 entries", () => {
|
||||
assert.equal(knownProviders().length, 11);
|
||||
});
|
||||
|
||||
test("knownProviders() includes the full registry set", () => {
|
||||
@@ -81,6 +81,7 @@ test("knownProviders() includes the full registry set", () => {
|
||||
"kimi-coding",
|
||||
"xiaomi-mimo",
|
||||
"alibaba",
|
||||
"grok-cli",
|
||||
]) {
|
||||
assert.ok(list.includes(p), `missing ${p}`);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
|
||||
test("#3812 returns the curated accent for a mapped sidebar item", () => {
|
||||
assert.equal(getSidebarIconAccent("home"), SIDEBAR_ICON_ACCENTS.home);
|
||||
assert.equal(getSidebarIconAccent("settings"), SIDEBAR_ICON_ACCENTS.settings);
|
||||
assert.equal(getSidebarIconAccent("settings-general"), SIDEBAR_ICON_ACCENTS["settings-general"]);
|
||||
});
|
||||
|
||||
test("#3812 falls back to a valid hex accent for an unmapped id", () => {
|
||||
|
||||
Reference in New Issue
Block a user