Skip to content

Commit d2a84ae

Browse files
matt-pharrclaude
andcommitted
test(renderer): align TreeNodeRow icon test with canonical wire kinds
Update iconCases to match the TYPE_ICONS table after b51872e replaced legacy Python type names (dict, list, string, etc.) with canonical NodeKindValue keys (mapping, sequence, text, etc.). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 01e21a1 commit d2a84ae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

electron/renderer/src/components/Tree/TreeNodeRow.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ describe('TreeNodeRow', () => {
3535
const onClick = vi.fn();
3636

3737
const iconCases: Array<[string, string]> = [
38-
['folder', '📁'], ['file', '📄'], ['script', '📜'], ['ndarray', '🔢'], ['dataframe', '📊'],
39-
['series', '📈'], ['dict', '🗂️'], ['list', '🧾'], ['tuple', '🧾'], ['set', '🧾'],
40-
['string', '🔤'], ['number', '#️⃣'], ['boolean', '✔️'], ['none', '∅'], ['image', '🖼️'],
41-
['json', '{ }'], ['python', '🐍'], ['julia', '🔴'], ['unknown', '❓'],
38+
['root', '🌳'], ['folder', '📁'], ['file', '📄'], ['script', '📜'], ['markdown', '📝'],
39+
['ndarray', '🔢'], ['dataframe', '📊'], ['series', '📈'], ['mapping', '🗂️'],
40+
['sequence', '🧾'], ['text', '🔤'], ['scalar', '#️⃣'], ['binary', '🧬'],
41+
['namelist', '📋'], ['module', '📦'], ['gui', '🖼️'], ['lib', '📚'], ['unknown', '❓'],
4242
];
4343

4444
for (const [type, icon] of iconCases) {

0 commit comments

Comments
 (0)