-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b942f0d
commit afd7f7c
Showing
12 changed files
with
200 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "commonjs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
declare namespace _default { | ||
export { saveArtifact as artifact }; | ||
export { logMessage as log }; | ||
export { addStep as step }; | ||
export { setKeyValue as keyValue }; | ||
} | ||
export default _default; | ||
/** | ||
* Stores path to file as artifact and uploads it to the S3 storage | ||
* @param {string | {path: string, type: string, name: string}} data - path to file or object with path, type and name | ||
*/ | ||
export function saveArtifact(data: string | { | ||
declare function saveArtifact(data: string | { | ||
path: string; | ||
type: string; | ||
name: string; | ||
}, context?: any): void; | ||
/** | ||
* Attach log message(s) to the test report | ||
* @param {...any} args | ||
* @param string | ||
*/ | ||
export function logMessage(...args: any[]): void; | ||
declare function logMessage(...args: any[]): void; | ||
/** | ||
* Similar to "log" function but marks message in report as a step | ||
* @param {*} message | ||
* @param {string} message | ||
*/ | ||
export function addStep(message: any): void; | ||
declare function addStep(message: string): void; | ||
/** | ||
* Add key-value pair(s) to the test report | ||
* @param {*} keyValue | ||
* @param {{[key: string]: string} | string} keyValue object { key: value } (multiple props allowed) or key (string) | ||
* @param {string?} value | ||
*/ | ||
export function setKeyValue(keyValue: any): void; | ||
declare namespace _default { | ||
export { saveArtifact as artifact }; | ||
export { logMessage as log }; | ||
export { addStep as step }; | ||
export { setKeyValue as keyValue }; | ||
} | ||
export default _default; | ||
declare function setKeyValue(keyValue: { | ||
[key: string]: string; | ||
} | string, value?: string | null): void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.