Wlxyzxyz's Blog

mocha

在mocha测试中使用Promise函数

2022/3/7

在mocha测试中使用Promise函数 可以在function前使用async关键字 ```javascript const initFn = () => { return new P

vscode 中使用mocha

2023/12/25

## Mocha 设置 ```bash npm install ts-node --save-dev ``` ```bash npm install chai mocha @t