Migrate remaining legacy operator workflows

This commit is contained in:
2026-07-12 05:39:27 +09:00
parent ffb8f43c19
commit a01836a2d7
132 changed files with 20566 additions and 720 deletions

View File

@@ -52,6 +52,12 @@ test("KRX and NXT database identities normalize without inferring market from a
Market: "Krx", ThemeCode: "00000001", ThemeTitle: "AI 반도체", Session: "NotApplicable",
previewItemCount: 17
}), krxTheme);
assert.equal(workflow.normalizeTheme({
market: "krx", themeCode: "123", title: "Legacy"
}).themeCode, "123");
assert.equal(workflow.normalizeTheme({
market: "krx", themeCode: "0123", title: "Legacy"
}).themeCode, "0123");
assert.deepEqual(workflow.normalizeTheme({
market: "NXT", themeCode: "00000002", title: "로봇", session: "PreMarket", items: new Array(121)
}), nxtPreTheme);
@@ -71,7 +77,7 @@ test("typed theme validation reports clear market, code, session and preview fai
market: "other", themeCode: "00000001", title: "AI"
}, "INPUT_ORDER").reason, "invalid-theme-market");
assert.equal(workflow.getCompatibility("five-row-current", {
market: "krx", themeCode: "1", title: "AI"
market: "krx", themeCode: "12", title: "AI"
}, "INPUT_ORDER").reason, "invalid-theme-code");
assert.equal(workflow.getCompatibility("five-row-current", {
market: "krx", themeCode: " 00000001 ", title: "AI"