Skip to content

Commit

Permalink
test: updated test for new composablerc file expect
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Sep 27, 2023
1 parent c740f20 commit 1b8a33a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/d2c-schematics/__tests__/workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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([
Expand Down

0 comments on commit 1b8a33a

Please sign in to comment.