- mockGlob(fs: Volume, globInstance?: typeof G): { sync: (pattern: string, options: any) => string[] }
Parameters
fs: Volume
globInstance: typeof G = glob
Returns { sync: (pattern: string, options: any) => string[] }
- (pattern: string, options: any, callback: any): IGlob
Parameters
pattern: string
options: any
callback: any
Returns IGlob
sync: (pattern: string, options: any) => string[]
- (pattern: string, options: any): string[]
Parameters
pattern: string
options: any
Returns string[]