File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 30
30
"@babel/preset-env" : " ^7.0.0" ,
31
31
"@babel/preset-react" : " ^7.0.0" ,
32
32
"@testing-library/react" : " ^9.3.2" ,
33
+ "@types/styled-components" : " ^5.1.11" ,
33
34
"babel-core" : " ^7.0.0-bridge.0" ,
34
35
"babel-eslint" : " ^10.0.1" ,
35
36
"babel-jest" : " ^26.0.0" ,
Original file line number Diff line number Diff line change 1
1
import { Plugin , NewPlugin } from 'pretty-format'
2
+ import { css } from 'styled-components'
2
3
3
4
declare global {
4
5
namespace jest {
@@ -11,7 +12,7 @@ declare global {
11
12
12
13
interface Options {
13
14
media ?: string ;
14
- modifier ?: string ;
15
+ modifier ?: string | ReturnType < typeof css > ;
15
16
supports ?: string ;
16
17
}
17
18
Original file line number Diff line number Diff line change 1627
1627
dependencies :
1628
1628
" @types/node" " *"
1629
1629
1630
+ " @types/hoist-non-react-statics@* " :
1631
+ version "3.3.1"
1632
+ resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#1124aafe5118cb591977aeb1ceaaed1070eb039f"
1633
+ integrity sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==
1634
+ dependencies :
1635
+ " @types/react" " *"
1636
+ hoist-non-react-statics "^3.3.0"
1637
+
1630
1638
" @types/istanbul-lib-coverage@*" , "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
1631
1639
version "2.0.3"
1632
1640
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
1710
1718
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
1711
1719
integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==
1712
1720
1721
+ " @types/styled-components@^5.1.11 " :
1722
+ version "5.1.11"
1723
+ resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-5.1.11.tgz#a3a1bc0f2cdad7318d8ce219ee507e6b353503b5"
1724
+ integrity sha512-u8g3bSw9KUiZY+S++gh+LlURGraqBe3MC5I5dygrNjGDHWWQfsmZZRTJ9K9oHU2CqWtxChWmJkDI/gp+TZPQMw==
1725
+ dependencies :
1726
+ " @types/hoist-non-react-statics" " *"
1727
+ " @types/react" " *"
1728
+ csstype "^3.0.2"
1729
+
1713
1730
" @types/testing-library__dom@* " :
1714
1731
version "7.5.0"
1715
1732
resolved "https://registry.yarnpkg.com/@types/testing-library__dom/-/testing-library__dom-7.5.0.tgz#e0a00dd766983b1d6e9d10d33e708005ce6ad13e"
@@ -4118,7 +4135,7 @@ hermes-profile-transformer@^0.0.6:
4118
4135
dependencies :
4119
4136
source-map "^0.7.3"
4120
4137
4121
- hoist-non-react-statics@^3.0.0 :
4138
+ hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0 :
4122
4139
version "3.3.2"
4123
4140
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
4124
4141
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
You can’t perform that action at this time.
0 commit comments