This release contains minor enhancements to Typescript support in Testplane.
🐛 Fixes
Ability to extend executionContext.ctx typings
Now it's possible to extend executionContext.ctx
type using module augmentation like this:
import type { TestplaneCtx } from "testplane";
import type { Api } from './api';
declare module "testplane" {
interface ExecutionThreadCtx {
api: Api;
}
}
Now passive
option is specified correctly in Testplane config typings. Note that this still has some limitations and doesn't work well with html-reporter, until further notice we recommend using testplane-passive-browsers plugin instead.