Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚克隆了gruntjs 存储库。
我如何实际运行 GruntJS 的测试?
(我并不是说我想使用 GruntJS 运行我自己的测试。我的意思是我想为 GruntJS 本身运行测试。)
grunt test应该做的伎俩。
grunt test
咕噜吃自己的狗粮。
git clone https://github.com/gruntjs/grunt cd grunt grunt test
或者,像任何 grunt 存储库一样(因为package.json格式正确):
cd grunt npm test