@serenity-js/jasmine
Version:
Serenity/JS test runner adapter for Jasmine, enabling the use of the Screenplay Pattern in Jasmine-based test suites and leveraging Serenity/JS reporting capabilities
13 lines • 611 B
TypeScript
/**
* Monkey-patches Jasmine domain model constructors so that they
* record information about the file system location of the caller function.
*
* This helps to make reporting more accurate.
*
* @param jasmineConstructor - A Jasmine constructor function to be patched
* @param {object} wrappers - Attributes to wrap when the monkey-patched Jasmine constructor is invoked
*/
export declare function monkeyPatched(jasmineConstructor: any, wrappers?: {
[key: string]: (original: (attrs: object) => any) => (attrs: object) => any;
}): (attrs: object) => any;
//# sourceMappingURL=monkeyPatched.d.ts.map