From 40313f0df09e07fba747476b12aa289cc3eec5cc Mon Sep 17 00:00:00 2001 From: koji Date: Mon, 11 Mar 2024 12:23:15 -0400 Subject: [PATCH] chore(monorepo): remove jest-styled-components (#14618) * chore(monorepo): remove jest-styled-components --- __mocks__/electron-store.js | 2 +- components/typings/global.d.ts | 1 - package.json | 1 - yarn.lock | 9 +-------- 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/__mocks__/electron-store.js b/__mocks__/electron-store.js index 49444bba1f5..51261150343 100644 --- a/__mocks__/electron-store.js +++ b/__mocks__/electron-store.js @@ -1,7 +1,7 @@ // mock electron-store 'use strict' import { vi } from 'vitest' -import { DEFAULTS_V12, migrate } from '../app-shell-odd/src/config/migrate' +// import { DEFAULTS_V12, migrate } from '../app-shell-odd/src/config/migrate' // will by default mock the config dir. if you need other behaavior you can // override this mock (see app-shell/src/__tests__/discovery.test.ts for an example) diff --git a/components/typings/global.d.ts b/components/typings/global.d.ts index 73ef7a63b9b..5d6296f94be 100644 --- a/components/typings/global.d.ts +++ b/components/typings/global.d.ts @@ -1,2 +1 @@ -import 'jest-styled-components' import 'styled-components/cssprop' diff --git a/package.json b/package.json index 929bfebded4..5684dfae3b9 100755 --- a/package.json +++ b/package.json @@ -110,7 +110,6 @@ "html-webpack-plugin": "^3.2.0", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", - "jest-styled-components": "7.1.1", "lost": "^8.3.1", "madge": "^3.6.0", "mime": "^2.4.4", diff --git a/yarn.lock b/yarn.lock index c5b99049fbf..83683ae2007 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,7 +17,7 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@adobe/css-tools@^4.0.1", "@adobe/css-tools@^4.3.2": +"@adobe/css-tools@^4.3.2": version "4.3.3" resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.3.tgz#90749bde8b89cd41764224f5aac29cd4138f75ff" integrity sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ== @@ -13340,13 +13340,6 @@ jest-snapshot@^26.6.2: pretty-format "^26.6.2" semver "^7.3.2" -jest-styled-components@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/jest-styled-components/-/jest-styled-components-7.1.1.tgz#faf19c733e0de4bbef1f9151955b99e839b7df48" - integrity sha512-OUq31R5CivBF8oy81dnegNQrRW13TugMol/Dz6ZnFfEyo03exLASod7YGwyHGuayYlKmCstPtz0RQ1+NrAbIIA== - dependencies: - "@adobe/css-tools" "^4.0.1" - jest-util@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1"