1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Update test and then fix it

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-03-03 09:33:46 -05:00
parent 11d587a97c
commit 9103d4df98
2 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,8 @@ describe("entity running technical tests", () => {
rendered.getByTestId("detail-panel-hot-bar-icon").click();
await flushPromises();
expect(onRun).not.toHaveBeenCalled();
});

View File

@ -249,6 +249,8 @@ export class CatalogEntityRegistry {
if (!doOnRun) {
this.dependencies.logger.debug(`onBeforeRun for ${entity.getId()} returned false`);
return;
}
await entity.onRun?.({