From ddebb48efd9a1f88a407e85cb9bfdcbfce5a1763 Mon Sep 17 00:00:00 2001 From: vanilla-wave Date: Thu, 29 Feb 2024 20:25:06 +0100 Subject: [PATCH] fix: dont close hint as user when run preset --- src/controller.ts | 2 +- src/tests/commonPresets.test.ts | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/controller.ts b/src/controller.ts index bb0a112..d96a309 100644 --- a/src/controller.ts +++ b/src/controller.ts @@ -377,7 +377,7 @@ export class Controller close current hint', async function () { - const controller = new Controller(getOptions()); - await controller.stepElementReached({ - stepSlug: 'createSprint', - element: getAnchorElement(), - }); - - await controller.runPreset('createQueue'); - - expect(controller.hintStore.state.open).toBe(false); - }); - it('can run unavailable preset', async function () { const controller = new Controller(options); await controller.runPreset('createQueue');