hololake-system-architecture/product-source/guanghu-knowledge-base/src/presentation.test.ts

10 lines
334 B
TypeScript

import test from 'node:test';
import assert from 'node:assert/strict';
import { cleanDisplayText } from './presentation.js';
test('人类界面隐藏导入文件的哈希尾巴', () => {
assert.equal(
cleanDisplayText('01 · 四域责任主体 f46047b4faff4962b4381a563282b6e6.md'),
'01 · 四域责任主体.md',
);
});