AlgoCasts 安装测试工具 jest yarn global add jest 运行全部测试: $ cd ./exercises $ jest 运行单个文件测试:比如 reversestring/test.js (根据文件改动自动运行测试) $ cd ./exercises $ jest reversestring/test.js --watch