Skip to content

Commit 4a04e83

Browse files
author
jiangtao.yang
committed
feat: add unit test and README
1 parent 950cadb commit 4a04e83

10 files changed

Lines changed: 7357 additions & 80 deletions

File tree

README.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Data Structure Visualization
2+
3+
> Limited Structures, Unlimited Algorithms
4+
5+
Demo: https://youngwinds.github.io/data-structure-visualization/
6+
7+
## Develop
8+
9+
```shell
10+
pnpm install && pnpm dev
11+
```

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@
66
"scripts": {
77
"dev": "concurrently \"pnpm --filter=./packages/* --parallel dev \" \"pnpm --filter dsv dev\" ",
88
"build": "pnpm -r build",
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"test": "pnpm --filter=./packages/* --parallel test",
10+
"test:coverage": "pnpm --filter=./packages/* --parallel test:coverage"
1011
},
1112
"keywords": [],
1213
"author": "",
1314
"license": "ISC",
1415
"devDependencies": {
15-
"concurrently": "^9.1.0"
16+
"concurrently": "^9.1.0",
17+
"jest": "^29.0.0",
18+
"@types/jest": "^29.0.0",
19+
"ts-jest": "^29.0.0"
1620
}
1721
}

0 commit comments

Comments
 (0)