@wix-pilot/core
Version:
A flexible plugin that drives your tests with human-written commands, enhanced by the power of large language models (LLMs)
9 lines (8 loc) • 310 B
TypeScript
/**
* Utility functions for working with Jest
*/
/**
* Gets the current test file path from the Jest expect API or the stack trace
* @returns The current Jest test file path, or undefined if not in Jest or the path is not available
*/
export declare function getCurrentTestFilePath(): string | undefined;