From 9a5f98d87265b53d5ebf0dd6e3b3da118aec7aa1 Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Wed, 4 Dec 2024 13:02:16 -0500 Subject: [PATCH] Ignore variable values when checking mocks with `npm test` (#1166) * Ignore lastEdited value when creating review pages in test script * Ignore commit sha and description update testMode --- .../createReviewPages.test.js.snap | 450 +++++++++--------- scripts/test-reviewer/createReviewPages.mjs | 9 +- scripts/test-reviewer/generateReviewPages.mjs | 12 +- 3 files changed, 231 insertions(+), 240 deletions(-) diff --git a/__test__/__snapshots__/createReviewPages.test.js.snap b/__test__/__snapshots__/createReviewPages.test.js.snap index 7590c3961..c58f96a6a 100644 --- a/__test__/__snapshots__/createReviewPages.test.js.snap +++ b/__test__/__snapshots__/createReviewPages.test.js.snap @@ -54,8 +54,7 @@ exports[`review pages creation runs createReviewPages successfully for all test Index Review

1

- ca4c80fd Change priority of role assertion to 3 (#1054) - + Banner Landmark @@ -63,8 +62,7 @@ exports[`review pages creation runs createReviewPages successfully for all test Index Review

26

- 836fb2a9 Validation for test csv formats (#980) - + Color Viewer Slider @@ -72,8 +70,7 @@ exports[`review pages creation runs createReviewPages successfully for all test Index Review

9

- 6d4763d8 Update singleQuickKeyNavOn for J and shift+j VoiceOver commands (#1082) - + Command Button Example @@ -81,8 +78,7 @@ exports[`review pages creation runs createReviewPages successfully for all test Index Review

3

- 5d5ba084 Update VoiceOver navigation commands for Command and Toggle Button (#1048) - + @@ -265,7 +261,7 @@ exports[`review pages creation runs createReviewPages successfully for all test

Test 1: Trigger an alert