Got this error;
> weather-app@1.0.0 test C:\Users\Ofirs\Desktop\n-4-11-chaining
> mocha **/*.test.js
module.js:540
throw err;
^
Error: Cannot find module 'tap'
at Function.Module._resolveFilename (module.js:538:15)
No need to help the problem was fixed. I have just added another '*' right after "mocha".
"这对我有用
"mocha */*.test.js"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.