From f1f9aaa9057eb10e7800ea32553e9a7734f9e758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Matias=CC=8Cko?= Date: Tue, 30 Apr 2024 09:26:21 +0200 Subject: [PATCH] removed deprecated defaultProps --- package.json | 2 +- .../Button/__snapshots__/Button.test.tsx.snap | 22 +++++++++++-- .../__snapshots__/ConfirmModal.test.tsx.snap | 2 +- .../Atomic/ContentMenu/ContentMenu.styles.ts | 5 ++- .../Atomic/ContentMenu/ContentMenu.test.tsx | 12 ++++--- .../Atomic/ContentMenu/ContentMenu.tsx | 25 +++++++++++---- .../__snapshots__/ContentMenu.test.tsx.snap | 11 +++---- .../Icon/__snapshots__/Icon.test.tsx.snap | 5 +++ .../Modal/__snapshots__/Modal.test.tsx.snap | 2 +- .../__snapshots__/SplitButton.test.tsx.snap | 32 ++++++++++++++----- src/components/Atomic/TreeTable/TreeTable.tsx | 14 ++++++-- 11 files changed, 96 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index eb1bf7f2..555b8dcb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ ], "scripts": { "test": "jest -c ./config/jest.config.js", - "test:watch": "jest -c ./config/jest.config.js --watchAll", + "test:uwatch": "jest -c ./config/jest.config.js --watchAll", "build": "npm-run-all prebuild build:legacy build:modern build:node build:stable build:copy-files", "build:legacy": "node ./scripts/build legacy", "build:modern": "node ./scripts/build modern", diff --git a/src/components/Atomic/Button/__snapshots__/Button.test.tsx.snap b/src/components/Atomic/Button/__snapshots__/Button.test.tsx.snap index 0a6d41b0..3b34d249 100644 --- a/src/components/Atomic/Button/__snapshots__/Button.test.tsx.snap +++ b/src/components/Atomic/Button/__snapshots__/Button.test.tsx.snap @@ -157,6 +157,24 @@ exports[`