File tree Expand file tree Collapse file tree 10 files changed +759
-1
lines changed
Expand file tree Collapse file tree 10 files changed +759
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { jest } from '@jest/globals'
33export const debug = jest . fn ( ) . mockImplementation ( ( ) => { } )
44export const error = jest . fn ( ) . mockImplementation ( ( ) => { } )
55export const info = jest . fn ( ) . mockImplementation ( ( ) => { } )
6+ export const isDebug = jest . fn ( ) . mockImplementation ( ( ) => false )
67export const getInput = jest . fn ( ) . mockImplementation ( ( ) => { } )
78export const setOutput = jest . fn ( ) . mockImplementation ( ( ) => { } )
89export const setFailed = jest . fn ( ) . mockImplementation ( ( ) => { } )
Original file line number Diff line number Diff line change 1+ import { jest } from '@jest/globals'
2+
3+ export const which = jest . fn ( ) . mockImplementation ( ( ) => { } )
4+ export const mkdirP = jest . fn ( ) . mockImplementation ( ( ) => { } )
5+
6+ export default {
7+ which,
8+ mkdirP
9+ }
Original file line number Diff line number Diff line change 11import { jest } from '@jest/globals'
22
33export const accessSync = jest . fn ( )
4+ export const copyFileSync = jest . fn ( )
45export const createWriteStream = jest . fn ( )
56export const createReadStream = jest . fn ( )
67export const existsSync = jest . fn ( )
78export const mkdirSync = jest . fn ( )
9+ export const readdirSync = jest . fn ( )
810export const readFileSync = jest . fn ( )
911export const rmSync = jest . fn ( )
1012export const statSync = jest . fn ( )
13+ export const writeFileSync = jest . fn ( )
1114
1215export default {
1316 accessSync,
17+ copyFileSync,
1418 createWriteStream,
1519 createReadStream,
1620 existsSync,
1721 mkdirSync,
22+ readdirSync,
1823 readFileSync,
1924 rmSync,
20- statSync
25+ statSync,
26+ writeFileSync
2127}
You can’t perform that action at this time.
0 commit comments