From 7e2aa716501b99885db208974307d65e5e13638c Mon Sep 17 00:00:00 2001 From: jaybell Date: Tue, 4 Jan 2022 11:16:32 -0800 Subject: [PATCH] cleanup(core): update tests for split args to account for tags ISSUES CLOSED: #2675 --- packages/workspace/src/command-line/utils.spec.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/workspace/src/command-line/utils.spec.ts b/packages/workspace/src/command-line/utils.spec.ts index 32c2d72b03494a..1c5f7cd85db86c 100644 --- a/packages/workspace/src/command-line/utils.spec.ts +++ b/packages/workspace/src/command-line/utils.spec.ts @@ -23,6 +23,7 @@ describe('splitArgs', () => { base: 'sha1', head: 'sha2', skipNxCache: false, + tags: [], }); }); @@ -53,6 +54,7 @@ describe('splitArgs', () => { ).toEqual({ base: 'main', skipNxCache: false, + tags: [], }); }); @@ -75,6 +77,7 @@ describe('splitArgs', () => { ).toEqual({ base: 'develop', skipNxCache: false, + tags: [], }); }); @@ -94,6 +97,7 @@ describe('splitArgs', () => { ).toEqual({ base: 'main', skipNxCache: false, + tags: [], }); }); @@ -128,6 +132,7 @@ describe('splitArgs', () => { base: 'sha1', head: 'sha2', skipNxCache: false, + tags: [], }); expect(overrides).toEqual({ notNxArg: true, @@ -155,6 +160,7 @@ describe('splitArgs', () => { base: 'envVarSha1', head: 'envVarSha2', skipNxCache: false, + tags: [], }); expect( @@ -171,6 +177,7 @@ describe('splitArgs', () => { base: 'envVarSha1', head: 'directlyOnCommandSha1', skipNxCache: false, + tags: [], }); expect( @@ -187,6 +194,7 @@ describe('splitArgs', () => { base: 'directlyOnCommandSha2', head: 'envVarSha2', skipNxCache: false, + tags: [], }); // Reset process data