From b370362bdba8b5796b6275680ccaee25cd01dfb1 Mon Sep 17 00:00:00 2001 From: David Joy Date: Wed, 31 Jul 2024 13:22:22 -0400 Subject: [PATCH] test: removing old snapshot and updating test-app- package-lock.json Just tryin to get the test suite to pass here! --- test-app/package-lock.json | 1 + test-app/src/__snapshots__/App.test.jsx.snap | 101 ------------------- 2 files changed, 1 insertion(+), 101 deletions(-) delete mode 100644 test-app/src/__snapshots__/App.test.jsx.snap diff --git a/test-app/package-lock.json b/test-app/package-lock.json index 4b889576..e7238f79 100644 --- a/test-app/package-lock.json +++ b/test-app/package-lock.json @@ -118,6 +118,7 @@ "@types/react": "^17.0.0", "@types/react-dom": "^17.0.11", "axios-mock-adapter": "^1.22.0", + "jest-chain": "^1.1.6", "jsdoc": "^4.0.3", "nodemon": "^3.1.4", "react-test-renderer": "^17.0.2" diff --git a/test-app/src/__snapshots__/App.test.jsx.snap b/test-app/src/__snapshots__/App.test.jsx.snap deleted file mode 100644 index cc695322..00000000 --- a/test-app/src/__snapshots__/App.test.jsx.snap +++ /dev/null @@ -1,101 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Basic test should render 1`] = ` -
-

- Test page -

-

- SCSS parsing tests -

-

- The Apples -

- ("The Apples" should be red) -

- ES6 parsing tests -

- -

- TSX parsing tests -

- appleFromTsx -

- Asset import tests -

- apple -
- apple -

- Photo by Louis Hansel @shotsoflouis on Unsplash -

-

- process.env tests -

-

- Test process.env variable: - foo -

-

- Non-existent process.env variable (nothing here is good): -

-

- env.config.js tests -

-

- - env.config.js boolean test: - - Good, false meant false. We did not cast a boolean to a string. -

-

- env.config.js integer test: - It was an integer. Great. -

-

- Right-to-left language handling tests -

-

- I'm aligned right, but left in RTL. -

-
-`;