Skip to content

Commit f1b68c1

Browse files
committed
Update test instructions to include running individual test files
Added commands to run specific test files individually for better testing flexibility and workflow efficiency.
1 parent 9b52d55 commit f1b68c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ npm run eslint
1818
# 运行所有测试
1919
npm test
2020

21+
# 运行单个测试文件
22+
npm test -- test/index.test.js
23+
npm test -- test/helper.test.js
24+
npm test -- test/layout.test.js
25+
npm test -- test/lockfile.test.js
26+
npm test -- test/utils.test.js
27+
2128
# 监听模式运行测试
2229
npm run test:watch
2330

0 commit comments

Comments
 (0)