From 812803aa8a31fbbb86418850efb611e6a7028a9c Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Tue, 5 Jan 2021 16:22:48 -0600 Subject: Update PageContainer snapshot test The UI is rendering differently than the snapshot saved. I reviewed the difference and it is simply a difference with how the formatting of the class and id values. I did not see this issue when testing the PageContainer snapshot test. It is not clear why there is a difference, but if it were to fail again for a different user, we can remove the snapshot since the main test we want to pass is that the HTML element being rendered is the
element. To update the snapshot for an individual spec file, use the following command in the cli: npm run test:update -- -u tests/unit/Global/PageContainer.spec.js Signed-off-by: Derick Montague Change-Id: Ieac495f893ba2025d2d6f4d3b7b49506bdf0ecae --- tests/unit/Global/__snapshots__/PageContainer.spec.js.snap | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/unit/Global/__snapshots__/PageContainer.spec.js.snap b/tests/unit/Global/__snapshots__/PageContainer.spec.js.snap index 308f745e..b98d4485 100644 --- a/tests/unit/Global/__snapshots__/PageContainer.spec.js.snap +++ b/tests/unit/Global/__snapshots__/PageContainer.spec.js.snap @@ -1,9 +1,8 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`PageContainer.vue should render correctly 1`] = ` - +
`; -- cgit v1.2.3