Skip to content

Commit

Permalink
Merge pull request alsotang#134 from gruad/patch-1
Browse files Browse the repository at this point in the history
update error phanatomjs to phantomjs
  • Loading branch information
alsotang authored May 26, 2017
2 parents f1d0996 + e2aeeb3 commit 3c1f0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesson7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('simple test', function () {

#### 测试反馈

mocha没有提供一个命令行的前端脚本测试环境(因为我们的脚本文件需要运行在浏览器环境中),因此我们使用phanatomjs帮助我们搭建一个模拟环境。不重复制造轮子,这里直接使用mocha-phantomjs帮助我们在命令行运行测试。
mocha没有提供一个命令行的前端脚本测试环境(因为我们的脚本文件需要运行在浏览器环境中),因此我们使用phantomjs帮助我们搭建一个模拟环境。不重复制造轮子,这里直接使用mocha-phantomjs帮助我们在命令行运行测试。

首先安装mocha-phanatomjs

Expand Down

0 comments on commit 3c1f0ed

Please sign in to comment.