Add more tests

This commit is contained in:
Christopher Schleiden
2022-11-23 07:35:43 -08:00
parent 1e339cb732
commit 99a9f08a3c
@@ -223,4 +223,16 @@ jobs:
expect(result).not.toBeUndefined();
expect(result).toHaveLength(20);
});
it("job key with other values afterwards", async () => {
const input = `on: push
jobs:
build:
runs-|
concurrency: 'group-name'`;
const result = await complete(...getPositionFromCursor(input));
expect(result).not.toBeUndefined();
expect(result).toHaveLength(19);
});
});