refactor: 更新功能键名称并移除 README 文件

- 将功能键 'jsonDiff' 更新为 'jsonTools',以更准确地反映其功能。
- 删除不再使用的 README.md 文件,清理项目结构。
- 更新相关测试用例以反映功能键名称的变化。
This commit is contained in:
雨霖铃
2026-06-19 09:47:08 +08:00
parent 9097c48b1f
commit a8a1e89f8a
5 changed files with 22 additions and 67 deletions
@@ -156,7 +156,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
const oldPageOrder = [
'timestamp',
@@ -164,7 +164,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
(storageUtil.get as any).mockImplementation((key: string, defaultValue: any) => {
@@ -196,7 +196,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
const oldPageOrder = [
'timestamp',
@@ -204,7 +204,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
localStorage.setItem('snapshot/app/visiblePages', JSON.stringify(oldVisiblePages));
localStorage.setItem('snapshot/app/pageOrder', JSON.stringify(oldPageOrder));
@@ -250,7 +250,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
const oldPageOrder = [
'timestamp',
@@ -258,7 +258,7 @@ describe('RouterProvider', () => {
'qrCode',
'textStatistics',
'jwt',
'jsonDiff',
'jsonTools',
];
await act(async () => {