From a497909446f7561d97ffcca5864ac5f6d470f164 Mon Sep 17 00:00:00 2001 From: "Ashley Engelund (weedySeaDragon @ github)" Date: Mon, 28 Nov 2022 08:54:14 -0800 Subject: [PATCH] fix pnpm dev command example --- docs/community/development.md | 4 ++-- packages/mermaid/src/docs/community/development.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/community/development.md b/docs/community/development.md index f54a56c77..3ed1fe700 100644 --- a/docs/community/development.md +++ b/docs/community/development.md @@ -155,8 +155,8 @@ This ensures that the rendering of that feature in the e2e will be reviewed in t To start working with the e2e tests: -1. Run `pnpm run dev` to start the dev server (or use the `pnpm dev` script) -2. Start **Cypress** by running `pnpm exec cypress open` in the **mermaid** folder (or use the `pnpm cypress:open` script). +1. Run `pnpm dev` to start the dev server +2. Start **Cypress** by running `pnpm cypress:open`. The rendering tests are very straightforward to create. There is a function `imgSnapshotTest`, which takes a diagram in text form and the mermaid options, and it renders that diagram in Cypress. diff --git a/packages/mermaid/src/docs/community/development.md b/packages/mermaid/src/docs/community/development.md index 7ecf7918c..63f99ba38 100644 --- a/packages/mermaid/src/docs/community/development.md +++ b/packages/mermaid/src/docs/community/development.md @@ -144,7 +144,7 @@ This ensures that the rendering of that feature in the e2e will be reviewed in t To start working with the e2e tests: -1. Run `pnpm run dev` to start the dev server (or use the `pnpm dev` script) +1. Run `pnpm dev` to start the dev server 2. Start **Cypress** by running `pnpm cypress:open`. The rendering tests are very straightforward to create. There is a function `imgSnapshotTest`, which takes a diagram in text form and the mermaid options, and it renders that diagram in Cypress.