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

Add missing test

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-15 08:34:24 -05:00
parent 4dbf5c8637
commit c06430fea6

View File

@ -459,6 +459,10 @@ describe("runManyFor", () => {
expect(runMock).toBeCalledWith("runnable-2"); expect(runMock).toBeCalledWith("runnable-2");
}); });
it("should not run 'runnable-3'", () => {
expect(runMock).not.toBeCalledWith("runnable-3");
});
describe("when 'runnable-1' resolves", () => { describe("when 'runnable-1' resolves", () => {
beforeEach(async () => { beforeEach(async () => {
await runMock.resolveSpecific(["runnable-1"]); await runMock.resolveSpecific(["runnable-1"]);