Skip to content

Penggggg/tdd-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tdd-demo

a react+typescript+tdd demo

while 'npm run test', our test will run automatically when the test files or project files change

if the last time test is still running, it will kill the last test process, and run test from the start again.

react+typescript的tdd demo 当测试文件或者项目文件改变并保存是,我们的测试会自动运行。若这时上一次的测试还没有停止,会停掉上一次测试进程,并重新开始测试

1. cd tdd-demo

2. npm install ( install all the dependencies )

3. npm link typescript ( if you hava typescript in globale enviroment )

4. npm start ( start the project )

5. npm run test ( start to run test )

About

react+typescript的tdd demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published