fix: stabilize lint and test timeouts

This commit is contained in:
Peter Steinberger
2026-01-04 01:42:08 +01:00
parent 70d68d29d0
commit fbaa109a3a
4 changed files with 20 additions and 6 deletions

View File

@@ -213,6 +213,7 @@ export async function evaluateViaPlaywright(opts: {
const locator = refLocator(page, opts.ref);
// Use Function constructor at runtime to avoid esbuild adding __name helper
// which doesn't exist in the browser context
// eslint-disable-next-line @typescript-eslint/no-implied-eval -- required for browser-context eval
const elementEvaluator = new Function(
"el",
"fnBody",
@@ -230,6 +231,7 @@ export async function evaluateViaPlaywright(opts: {
}
// Use Function constructor at runtime to avoid esbuild adding __name helper
// which doesn't exist in the browser context
// eslint-disable-next-line @typescript-eslint/no-implied-eval -- required for browser-context eval
const browserEvaluator = new Function(
"fnBody",
`