Options
All
  • Public
  • Public/Protected
  • All
Menu

Package acceptance-tests

Type aliases

ExecResult

ExecResult: object | Error & object

ExecResult

ExecResult: object | Error & object

PackageEntry

PackageEntry: Map<string, object>

PackageEntry

PackageEntry: Map<string, object>

PackageRegistry

PackageRegistry: Map<string, PackageEntry>

PackageRegistry

PackageRegistry: Map<string, PackageEntry>

PackageRunDriver

PackageRunDriver: function

Type declaration

PackageRunDriver

PackageRunDriver: function

Type declaration

Functions

Const chmod

Const chmod

Const createTemporaryFile

Const createTemporaryFile

Const createTemporaryFolder

Const createTemporaryFolder

Const execFile

  • execFile(path: string, args: Array<string>, options: Options): Promise<ExecResult>

Const execFile

  • execFile(path: string, args: Array<string>, options: Options): Promise<ExecResult>

Const filePatternMatch

  • filePatternMatch(filePath: string, patterns: Array<string>, __namedParameters?: object): boolean

Const filePatternMatch

  • filePatternMatch(filePath: string, patterns: Array<string>, __namedParameters?: object): boolean

Const generatePkgDriver

Const generatePkgDriver

Const getPackageArchiveHash

  • getPackageArchiveHash(name: string, version: string): Promise<string | Buffer>

Const getPackageArchiveHash

  • getPackageArchiveHash(name: string, version: string): Promise<string | Buffer>

Const getPackageArchivePath

  • getPackageArchivePath(name: string, version: string): Promise<string>

Const getPackageArchivePath

  • getPackageArchivePath(name: string, version: string): Promise<string>

Const getPackageArchiveStream

  • getPackageArchiveStream(name: string, version: string): Promise<Gzip>

Const getPackageArchiveStream

  • getPackageArchiveStream(name: string, version: string): Promise<Gzip>

Const getPackageDirectoryPath

  • getPackageDirectoryPath(name: string, version: string): Promise<string>

Const getPackageDirectoryPath

  • getPackageDirectoryPath(name: string, version: string): Promise<string>

Const getPackageEntry

  • getPackageEntry(name: string): Promise<PackageEntry | undefined>

Const getPackageEntry

  • getPackageEntry(name: string): Promise<PackageEntry | undefined>

Const getPackageHttpArchivePath

  • getPackageHttpArchivePath(name: string, version: string): Promise<string>

Const getPackageHttpArchivePath

  • getPackageHttpArchivePath(name: string, version: string): Promise<string>

Const getPackageRegistry

Const getPackageRegistry

Const makeFakeBinary

  • makeFakeBinary(target: PortablePath, __namedParameters?: object): Promise<void>

Const makeFakeBinary

  • makeFakeBinary(target: PortablePath, __namedParameters?: object): Promise<void>

Const mkdirp

Const mkdirp

Const packToFile

Const packToFile

Const packToStream

  • packToStream(source: PortablePath, __namedParameters?: object): Gzip

Const packToStream

  • packToStream(source: PortablePath, __namedParameters?: object): Gzip

Const parseJsonStream

  • parseJsonStream(stream: string, key?: undefined | string): any

Const parseJsonStream

  • parseJsonStream(stream: string, key?: undefined | string): any

Const readFile

  • readFile(source: PortablePath, encoding?: undefined | string): Promise<any>

Const readFile

  • readFile(source: PortablePath, encoding?: undefined | string): Promise<any>

Const readJson

Const readJson

Const realpath

Const realpath

Const setPackageWhitelist

  • setPackageWhitelist(packages: Map<string, Set<string>>, fn: function): Promise<void>

Const setPackageWhitelist

  • setPackageWhitelist(packages: Map<string, Set<string>>, fn: function): Promise<void>

Const startPackageServer

  • startPackageServer(): Promise<string>

Const startPackageServer

  • startPackageServer(): Promise<string>

Const stringPatternMatch

  • stringPatternMatch(string: string, patterns: Array<string>, __namedParameters?: object): boolean

Const stringPatternMatch

  • stringPatternMatch(string: string, patterns: Array<string>, __namedParameters?: object): boolean

Const testIf

  • testIf(condition: function, name: string, execute?: jest.ProvidesCallback | undefined, timeout?: number | undefined): void

Const testIf

  • testIf(condition: function, name: string, execute?: jest.ProvidesCallback | undefined, timeout?: number | undefined): void

Const unpackToDirectory

Const unpackToDirectory

Const walk

Const walk

Const writeFile

  • writeFile(target: PortablePath, body: string | Buffer): Promise<void>

Const writeFile

  • writeFile(target: PortablePath, body: string | Buffer): Promise<void>

Const writeJson

  • writeJson(target: PortablePath, object: any): Promise<void>

Const writeJson

  • writeJson(target: PortablePath, object: any): Promise<void>

Generated using TypeDoc