UNPKG

e2ed

Version:

E2E testing framework over Playwright

21 lines (20 loc) 632 B
import type { Fn } from './fn'; /** * Frame object from V8 execution stack. */ export type StackFrame<SomeFunction extends Fn = Fn, This = unknown> = Readonly<{ getColumnNumber: () => number; getEvalOrigin: () => string; getFileName: () => string; getFunction: () => SomeFunction; getFunctionName: () => string | null; getLineNumber: () => number; getMethodName: () => string; getScriptNameOrSourceURL: () => string; getThis: () => This; getTypeName: () => string; isConstructor: () => boolean; isEval: () => boolean; isNative: () => boolean; isToplevel: () => boolean; }>;