Skip to content

Commit f480b1b

Browse files
committed
disable globbing
1 parent e79cc88 commit f480b1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/tools/src/snap-test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ async function runTestCase(name: string, tempTmpDir: string, casesDir: string) {
161161
stdin: null,
162162
stderr: outputStream as any,
163163
stdout: outputStream as any,
164+
glob: {
165+
isGlobPattern: () => false,
166+
match: async () => [],
167+
},
164168
});
165169

166170
outputStream.close();

0 commit comments

Comments
 (0)