Module @electron-forge/test-utils
Functions
ensureModulesInstalled
- ensureModulesInstalled(dir: string, deps: string[], devDeps: string[]): Promise<void>
Parameters
dir: string
deps: string[]
devDeps: string[]
Returns Promise<void>
ensureTestDirIsNonexistent
- ensureTestDirIsNonexistent(): Promise<string>
expectLintToPass
- expectLintToPass(dir: string): Promise<void>
Parameters
Returns Promise<void>
expectProjectPathExists
- expectProjectPathExists(dir: string, subPath: string, pathType: string, exists?: boolean): Promise<void>
Parameters
dir: string
subPath: string
pathType: string
exists: boolean = true
Returns Promise<void>
expectProjectPathNotExists
- expectProjectPathNotExists(dir: string, subPath: string, pathType: string): Promise<void>
Parameters
dir: string
subPath: string
pathType: string
Returns Promise<void>
runNPMInstall
- runNPMInstall(dir: string, ...args: string[]): Promise<void>
Parameters
dir: string
Rest ...args: string[]
Returns Promise<void>