Skip to content

Commit 25366bb

Browse files
3v0k4ArturT
andauthored
Update docusaurus/docs/vitest/reference.md
Co-authored-by: Artur Trzop <arturtrzop@gmail.com>
1 parent c298694 commit 25366bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/vitest/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Hint: you can debug in `node`
192192

193193
```js
194194
var glob = require("glob");
195-
var MY_GLOB = "{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}";
195+
var MY_GLOB = "**/*.{test,spec}.?(c|m)[jt]s?(x)";
196196
glob(MY_GLOB, {}, function (err, files) {
197197
console.log(files);
198198
});

0 commit comments

Comments
 (0)