We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157373b commit 66bcedfCopy full SHA for 66bcedf
tap-snapshots/test/bin.ts.test.cjs
@@ -18,7 +18,7 @@ Object {
18
Usage:
19
glob [options] [<pattern> [<pattern> ...]]
20
21
- Glob v10.2.7
+ Glob v{VERSION}
22
23
Expand the positional glob expression arguments into any matching file system
24
paths found.
test/bin.ts
@@ -1,8 +1,11 @@
1
import { spawn, SpawnOptions } from 'child_process'
2
import t from 'tap'
3
import { sep } from 'path'
4
+import { version } from '../package.json'
5
const bin = require.resolve('../dist/cjs/src/bin.js')
6
7
+t.cleanSnapshot = s => s.split(version).join('{VERSION}')
8
+
9
interface Result {
10
args: string[]
11
options: SpawnOptions
0 commit comments