Remove circular dependency.

This commit is contained in:
HarelM
2026-07-09 15:38:41 +03:00
parent dd04c14d96
commit b76d9cbe29
3 changed files with 11 additions and 8 deletions
+3
View File
@@ -202,6 +202,9 @@ export class PlaywrightHelper {
return new Query<T>(getter);
}
/** Entry point for fluent assertions over a Locator or a value/Query. */
public then = <T>(target: T): Assertable<T> => new Assertable(target);
public given = {
intercept: async (pattern: RegExp, alias: string, _method = "GET") => {
this.recordedRequests.set(alias, []);