diff --git a/docs/guides/migration-v7.md b/docs/guides/migration-v7.md index 9ee01a94..766a97fd 100644 --- a/docs/guides/migration-v7.md +++ b/docs/guides/migration-v7.md @@ -176,7 +176,7 @@ export const test = base.extend<{ world: World }>({ world: async ({ page }, use) => { const world = { page }; await use(world); - }), + }, }); export const { Given, When, Then } = createBdd(test, { @@ -252,4 +252,4 @@ When('I click link {string}', async function (text: string) { ### Can I get previous BddWorld in v7? Yes. The previous `BddWorld` is extracted into a separate file [bddWorld.ts](https://github.com/vitalets/playwright-bdd/blob/v7/test/bdd-world-extracted/steps/bddWorld.ts). You can copy/paste it and tune later for your needs. Once copied, check-out [fixtures.ts](https://github.com/vitalets/playwright-bdd/blob/v7/test/bdd-world-extracted/steps/fixtures.ts) how to initialize BddWorld in your code. -?> If you've found some mistake / missing items in this guide, feel free to open [an issue](https://github.com/vitalets/playwright-bdd/issues) on GitHub \ No newline at end of file +?> If you've found some mistake / missing items in this guide, feel free to open [an issue](https://github.com/vitalets/playwright-bdd/issues) on GitHub