From 1b8a33a6790b2a9468407e0fdbf97dd6c57bf945 Mon Sep 17 00:00:00 2001 From: Robert Field Date: Wed, 27 Sep 2023 15:47:39 +0100 Subject: [PATCH] test: updated test for new composablerc file expect --- packages/d2c-schematics/__tests__/workspace.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/d2c-schematics/__tests__/workspace.test.ts b/packages/d2c-schematics/__tests__/workspace.test.ts index c86989eb..cc4c6e83 100644 --- a/packages/d2c-schematics/__tests__/workspace.test.ts +++ b/packages/d2c-schematics/__tests__/workspace.test.ts @@ -36,13 +36,14 @@ describe("Workspace Schematic", () => { "/.lintstagedrc.js", "/.prettierignore", "/.eslintrc.json", + "/.composablerc", "/license.md", "/playwright.config.ts", "/postcss.config.js", "/tailwind.config.ts", "/.env.test", "/vite.config.ts", - ].sort() + ].sort(), ) } catch (err) { throw new Error(err) @@ -54,7 +55,7 @@ describe("Workspace Schematic", () => { .runSchematicAsync("workspace", { ...defaultOptions, tests: false }) .toPromise() const { scripts, devDependencies } = parseJson( - tree.readContent("package.json").toString() + tree.readContent("package.json").toString(), ) expect(scripts).not.toContainKeys(["test", "test:watch"]) expect(devDependencies).not.toContainKeys([