Commit d40d898
committed
feat: update testing framework to Vitest and add comprehensive tests for ColorPoint and Poline classes
- Changed the test script in package.json to use Vitest.
- Added a new test file for ColorPoint and Poline with extensive test cases covering initialization, color manipulation, and position functions.
- Updated PolineOptions to make anchorColors and numPoints optional.
- Added skipLibCheck to tsconfig.json for improved build performance.1 parent e678c17 commit d40d898
File tree
8 files changed
+5642
-2487
lines changed- dist
- src
- tests
8 files changed
+5642
-2487
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
| 432 | + | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Large diffs are not rendered by default.
0 commit comments