From 9186c977e4a1f92cc21e20889590122f96321946 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Tue, 14 May 2024 13:32:17 -0400 Subject: [PATCH] chore(misc): fix failing remove unit tests (#23373) ## Current Behavior ## Expected Behavior ## Related Issue(s) Fixes # (cherry picked from commit a25c2f6a812ae2c23baaa5ad29fc855ce5dcedd9) --- .../src/generators/remove/lib/update-tsconfig.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/workspace/src/generators/remove/lib/update-tsconfig.spec.ts b/packages/workspace/src/generators/remove/lib/update-tsconfig.spec.ts index 66196252613d4..01277a7d4d78d 100644 --- a/packages/workspace/src/generators/remove/lib/update-tsconfig.spec.ts +++ b/packages/workspace/src/generators/remove/lib/update-tsconfig.spec.ts @@ -38,6 +38,11 @@ describe('updateTsconfig', () => { forceRemove: false, importPath: '@proj/whatever-name', }; + + graph = { + nodes: {}, + dependencies: {}, + }; }); it('should delete project ref from the root tsconfig.base.json', async () => {