summaryrefslogtreecommitdiff
path: root/std/fs/testdata/expand_wildcard.js
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/testdata/expand_wildcard.js')
-rw-r--r--std/fs/testdata/expand_wildcard.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/std/fs/testdata/expand_wildcard.js b/std/fs/testdata/expand_wildcard.js
new file mode 100644
index 000000000..a30a17536
--- /dev/null
+++ b/std/fs/testdata/expand_wildcard.js
@@ -0,0 +1,6 @@
+import { expandGlob } from "../expand_glob.ts";
+
+const glob = new URL("*", import.meta.url).pathname;
+for await (const { filename } of expandGlob(glob)) {
+ console.log(filename);
+}