Revert "Moved init() directly to the describe block"

This reverts commit e68d7c3e1c.
This commit is contained in:
KoloMl 2025-04-02 18:20:48 +04:00
parent e68d7c3e1c
commit b69f7a3f17

View file

@ -1,7 +1,11 @@
import { init, TestContext } from './context';
describe('Autocomplete keyboard navigation', async () => {
const ctx: TestContext = await init();
describe('Autocomplete keyboard navigation', () => {
let ctx: TestContext;
beforeAll(async () => {
ctx = await init();
});
it('supports navigation via keyboard', async () => {
await ctx.setInput('f');