From 19c08afc99627fe22e1e2826f5c14c1b379d6c51 Mon Sep 17 00:00:00 2001 From: ZweiZhao Date: Thu, 16 Feb 2017 14:54:09 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mocha init 报错 --- lesson7/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lesson7/README.md b/lesson7/README.md index 7423415..e801e3b 100644 --- a/lesson7/README.md +++ b/lesson7/README.md @@ -38,6 +38,8 @@ npm i -g mocha # 安装全局的 mocha 命令行工具 mocha init . # 生成脚手架 ``` +如果上一步出错,返回上一级(lesson7),然后“mocha init vendor” + mocha就会自动帮我们生成一个简单的测试原型, 目录结构如下 ```shell .