From 8dfa8c11c8ba2faf8c1d8a7fb34eeefc01331a8b Mon Sep 17 00:00:00 2001 From: Austin Fahsl Date: Wed, 28 Feb 2024 16:03:01 -0700 Subject: [PATCH] chore(release): update e2e test snapshots --- e2e/release/src/independent-projects.test.ts | 28 ++++---------------- e2e/release/src/lock-file-updates.test.ts | 2 +- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/e2e/release/src/independent-projects.test.ts b/e2e/release/src/independent-projects.test.ts index 3f980b23fc38b..1b80284508e0b 100644 --- a/e2e/release/src/independent-projects.test.ts +++ b/e2e/release/src/independent-projects.test.ts @@ -139,9 +139,6 @@ describe('nx release - independent projects', () => { "scripts": { - NX Updating {package-manager} lock file - - NX Staging changed files with git @@ -174,9 +171,6 @@ describe('nx release - independent projects', () => { + - NX Updating {package-manager} lock file - - NX Staging changed files with git @@ -213,9 +207,6 @@ describe('nx release - independent projects', () => { } - NX Updating {package-manager} lock file - - NX Staging changed files with git @@ -255,15 +246,12 @@ describe('nx release - independent projects', () => { "scripts": { - NX Updating {package-manager} lock file - - Updating {lock-file} with the following command: - {lock-file-command} + Skipped lock file update because {package-manager} workspaces are not enabled. NX Committing changes with git Staging files in git with the following command: - git add {project-name}/package.json {lock-file} + git add {project-name}/package.json Committing files in git with the following command: git commit --message chore(release): publish --message - project: {project-name} 999.9.9-version-git-operations-test.2 @@ -363,20 +351,14 @@ describe('nx release - independent projects', () => { "scripts": { - NX Updating {package-manager} lock file - - Updating {lock-file} with the following command: - {lock-file-command} - - NX Updating {package-manager} lock file + Skipped lock file update because {package-manager} workspaces are not enabled. - Updating {lock-file} with the following command: - {lock-file-command} + Skipped lock file update because {package-manager} workspaces are not enabled. NX Committing changes with git Staging files in git with the following command: - git add {project-name}/package.json {project-name}/package.json {project-name}/package.json {lock-file} + git add {project-name}/package.json {project-name}/package.json {project-name}/package.json Committing files in git with the following command: git commit --message chore(release): publish --message - project: {project-name} 999.9.9-version-git-operations-test.3 --message - project: {project-name} 999.9.9-version-git-operations-test.3 --message - release-group: fixed 999.9.9-version-git-operations-test.3 diff --git a/e2e/release/src/lock-file-updates.test.ts b/e2e/release/src/lock-file-updates.test.ts index 202026977313f..55da4e278105a 100644 --- a/e2e/release/src/lock-file-updates.test.ts +++ b/e2e/release/src/lock-file-updates.test.ts @@ -150,7 +150,7 @@ describe('nx release lock file updates', () => { expect(filesChanges).toMatchInlineSnapshot(` {project-name}/package.json {project-name}/package.json - {project-name}/package.json + {project-name}/package.json `); });