- dbcpHashFile
- execCommand
- expectCreateFileWithConvertHash
- expectCreateFileWithHash
- expectCreateFilesWithHashes
- hashFile
▸ dbcpHashFile(fileSystem: FileSystem, path: string): Promise<string>
| Name | Type |
|---|---|
fileSystem |
FileSystem |
path |
string |
Returns: Promise<string>
Defined in: test.fixture.ts:76
▸ execCommand(cmd: string, execOptions?: any): Promise<string>
| Name | Type | Default value |
|---|---|---|
cmd |
string | - |
execOptions |
any | {} |
Returns: Promise<string>
Defined in: test.fixture.ts:87
▸ expectCreateFileWithConvertHash(fileSystem: FileSystem, targetUrl: string, convertToUrl: string, convertToHash: string, fn: () => Promise<void>, convertToTransform?: (x: any) => any): Promise<void>
| Name | Type |
|---|---|
fileSystem |
FileSystem |
targetUrl |
string |
convertToUrl |
string |
convertToHash |
string |
fn |
() => Promise<void> |
convertToTransform |
(x: any) => any |
Returns: Promise<void>
Defined in: test.fixture.ts:10
▸ expectCreateFileWithHash(fileSystem: FileSystem, fileUrl: string, fileHash: string | undefined, fn: () => Promise<void>): Promise<void>
| Name | Type |
|---|---|
fileSystem |
FileSystem |
fileUrl |
string |
fileHash |
string | undefined |
fn |
() => Promise<void> |
Returns: Promise<void>
Defined in: test.fixture.ts:57
▸ expectCreateFilesWithHashes(fileSystem: FileSystem, fileUrl: string[], fileHash: string[] | undefined, fn: () => Promise<void>): Promise<void>
| Name | Type |
|---|---|
fileSystem |
FileSystem |
fileUrl |
string[] |
fileHash |
string[] | undefined |
fn |
() => Promise<void> |
Returns: Promise<void>
Defined in: test.fixture.ts:40
▸ hashFile(fileSystem: FileSystem, path: string): Promise<string>
| Name | Type |
|---|---|
fileSystem |
FileSystem |
path |
string |
Returns: Promise<string>
Defined in: test.fixture.ts:70