我有一个 npm 脚本,我想在其中匹配文件扩展名ts
和tsx
文件扩展名......如下所示:
"test": "mocha ..... app/test/**/*.spec.{ts,tsx}"
但是,上面的语法不起作用。这样做的正确语法是什么?
我有一个 npm 脚本,我想在其中匹配文件扩展名ts
和tsx
文件扩展名......如下所示:
"test": "mocha ..... app/test/**/*.spec.{ts,tsx}"
但是,上面的语法不起作用。这样做的正确语法是什么?