TypeScript global type declarations for Testplane.
Exposes it, describe, beforeEach, afterEach, testplane as ambient globals so you don't need to import them in every test file.
npm install --save-dev @testplane/globalsRequires testplane >= 9.0.0 as a peer dependency.
Add the package to the types array in your tsconfig.json:
{
"compilerOptions": {
"types": ["@testplane/globals"]
}
}Then use Testplane's globals in your tests without imports:
describe('my suite', () => {
it('works', async ({browser}) => {
await browser.url('/');
});
});MIT