From 9f6a9f792a8efbdadf08cf4d1c726699a5cf1536 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sat, 6 Jul 2019 20:35:53 -0700 Subject: [PATCH] Add a basic pipeline test Will need to be more awake to write the rest of these tests :smile_cat: --- grammar/__tests__/pipeline.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 grammar/__tests__/pipeline.ts diff --git a/grammar/__tests__/pipeline.ts b/grammar/__tests__/pipeline.ts new file mode 100644 index 0000000..7a09933 --- /dev/null +++ b/grammar/__tests__/pipeline.ts @@ -0,0 +1,11 @@ +/* + * This test file will verify the parsing behavior of the pipeline block + */ + +import { MIN_PIPELINE, parse } from '../utils'; + +describe('pipeline {}', () => { + it('should pass with the minimum viable pipeline', () => { + expect(parse(MIN_PIPELINE)).toHaveLength(0); + }); +});