1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-07-17 01:42:43 +02:00

chore(npmExecuteScripts): unit tests (#3597)

This commit is contained in:
Christian Volk
2022-03-02 14:06:51 +01:00
committed by GitHub
parent e38d5ef69f
commit e49820f5e4
11 changed files with 430 additions and 55 deletions

View File

@ -57,11 +57,7 @@ type ExecRunner interface {
// Utils interface for mocking
type Utils interface {
Chdir(path string) error
FileExists(filename string) (bool, error)
FileRead(path string) ([]byte, error)
Getwd() (string, error)
Glob(pattern string) (matches []string, err error)
piperutils.FileUtils
GetExecRunner() ExecRunner
}