Skip to content

Commit 34c9829

Browse files
committedDec 25, 2021
adding tests and emotion pkgs
1 parent c580d5b commit 34c9829

File tree

2 files changed

+147
-13
lines changed

2 files changed

+147
-13
lines changed
 

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
"author": "MrNovado <novado@ymail.com>",
1616
"license": "MIT",
1717
"dependencies": {
18+
"@emotion/react": "^11.7.1",
19+
"@emotion/styled": "^11.6.0",
1820
"@testing-library/jest-dom": "^5.11.4",
1921
"@testing-library/react": "^11.1.0",
2022
"@testing-library/user-event": "^12.1.10",
2123
"@xstate/inspect": "^0.5.2",
2224
"@xstate/react": "^1.3.1",
23-
"@xstate/test": "^0.4.2",
25+
"@xstate/test": "^0.5.0",
2426
"lodash.sample": "^4.2.1",
2527
"react": "^17.0.1",
2628
"react-dom": "^17.0.1",

‎yarn.lock

+144-12
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,13 @@
11251125
dependencies:
11261126
regenerator-runtime "^0.13.4"
11271127

1128+
"@babel/runtime@^7.13.10":
1129+
version "7.16.5"
1130+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.5.tgz#7f3e34bf8bdbbadf03fbb7b1ea0d929569c9487a"
1131+
integrity sha512-TXWihFIS3Pyv5hzR7j6ihmeLkZfrXGxAr5UfSl8CHf+6q/wpiYDkUau0czckpYG8QmnCIuPpdLtuA9VmuGGyMA==
1132+
dependencies:
1133+
regenerator-runtime "^0.13.4"
1134+
11281135
"@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
11291136
version "7.13.8"
11301137
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.8.tgz#cc886a85c072df1de23670dc1aa59fc116c4017c"
@@ -1188,6 +1195,107 @@
11881195
resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-10.1.0.tgz#f0950bba18819512d42f7197e56c518aa491cf18"
11891196
integrity sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg==
11901197

1198+
"@emotion/babel-plugin@^11.3.0":
1199+
version "11.7.2"
1200+
resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.7.2.tgz#fec75f38a6ab5b304b0601c74e2a5e77c95e5fa0"
1201+
integrity sha512-6mGSCWi9UzXut/ZAN6lGFu33wGR3SJisNl3c0tvlmb8XChH1b2SUvxvnOh7hvLpqyRdHHU9AiazV3Cwbk5SXKQ==
1202+
dependencies:
1203+
"@babel/helper-module-imports" "^7.12.13"
1204+
"@babel/plugin-syntax-jsx" "^7.12.13"
1205+
"@babel/runtime" "^7.13.10"
1206+
"@emotion/hash" "^0.8.0"
1207+
"@emotion/memoize" "^0.7.5"
1208+
"@emotion/serialize" "^1.0.2"
1209+
babel-plugin-macros "^2.6.1"
1210+
convert-source-map "^1.5.0"
1211+
escape-string-regexp "^4.0.0"
1212+
find-root "^1.1.0"
1213+
source-map "^0.5.7"
1214+
stylis "4.0.13"
1215+
1216+
"@emotion/cache@^11.7.1":
1217+
version "11.7.1"
1218+
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.7.1.tgz#08d080e396a42e0037848214e8aa7bf879065539"
1219+
integrity sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==
1220+
dependencies:
1221+
"@emotion/memoize" "^0.7.4"
1222+
"@emotion/sheet" "^1.1.0"
1223+
"@emotion/utils" "^1.0.0"
1224+
"@emotion/weak-memoize" "^0.2.5"
1225+
stylis "4.0.13"
1226+
1227+
"@emotion/hash@^0.8.0":
1228+
version "0.8.0"
1229+
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413"
1230+
integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==
1231+
1232+
"@emotion/is-prop-valid@^1.1.1":
1233+
version "1.1.1"
1234+
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.1.tgz#cbd843d409dfaad90f9404e7c0404c55eae8c134"
1235+
integrity sha512-bW1Tos67CZkOURLc0OalnfxtSXQJMrAMV0jZTVGJUPSOd4qgjF3+tTD5CwJM13PHA8cltGW1WGbbvV9NpvUZPw==
1236+
dependencies:
1237+
"@emotion/memoize" "^0.7.4"
1238+
1239+
"@emotion/memoize@^0.7.4", "@emotion/memoize@^0.7.5":
1240+
version "0.7.5"
1241+
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.5.tgz#2c40f81449a4e554e9fc6396910ed4843ec2be50"
1242+
integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==
1243+
1244+
"@emotion/react@^11.7.1":
1245+
version "11.7.1"
1246+
resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.7.1.tgz#3f800ce9b20317c13e77b8489ac4a0b922b2fe07"
1247+
integrity sha512-DV2Xe3yhkF1yT4uAUoJcYL1AmrnO5SVsdfvu+fBuS7IbByDeTVx9+wFmvx9Idzv7/78+9Mgx2Hcmr7Fex3tIyw==
1248+
dependencies:
1249+
"@babel/runtime" "^7.13.10"
1250+
"@emotion/cache" "^11.7.1"
1251+
"@emotion/serialize" "^1.0.2"
1252+
"@emotion/sheet" "^1.1.0"
1253+
"@emotion/utils" "^1.0.0"
1254+
"@emotion/weak-memoize" "^0.2.5"
1255+
hoist-non-react-statics "^3.3.1"
1256+
1257+
"@emotion/serialize@^1.0.2":
1258+
version "1.0.2"
1259+
resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.0.2.tgz#77cb21a0571c9f68eb66087754a65fa97bfcd965"
1260+
integrity sha512-95MgNJ9+/ajxU7QIAruiOAdYNjxZX7G2mhgrtDWswA21VviYIRP1R5QilZ/bDY42xiKsaktP4egJb3QdYQZi1A==
1261+
dependencies:
1262+
"@emotion/hash" "^0.8.0"
1263+
"@emotion/memoize" "^0.7.4"
1264+
"@emotion/unitless" "^0.7.5"
1265+
"@emotion/utils" "^1.0.0"
1266+
csstype "^3.0.2"
1267+
1268+
"@emotion/sheet@^1.1.0":
1269+
version "1.1.0"
1270+
resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.0.tgz#56d99c41f0a1cda2726a05aa6a20afd4c63e58d2"
1271+
integrity sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==
1272+
1273+
"@emotion/styled@^11.6.0":
1274+
version "11.6.0"
1275+
resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.6.0.tgz#9230d1a7bcb2ebf83c6a579f4c80e0664132d81d"
1276+
integrity sha512-mxVtVyIOTmCAkFbwIp+nCjTXJNgcz4VWkOYQro87jE2QBTydnkiYusMrRGFtzuruiGK4dDaNORk4gH049iiQuw==
1277+
dependencies:
1278+
"@babel/runtime" "^7.13.10"
1279+
"@emotion/babel-plugin" "^11.3.0"
1280+
"@emotion/is-prop-valid" "^1.1.1"
1281+
"@emotion/serialize" "^1.0.2"
1282+
"@emotion/utils" "^1.0.0"
1283+
1284+
"@emotion/unitless@^0.7.5":
1285+
version "0.7.5"
1286+
resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed"
1287+
integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==
1288+
1289+
"@emotion/utils@^1.0.0":
1290+
version "1.0.0"
1291+
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.0.0.tgz#abe06a83160b10570816c913990245813a2fd6af"
1292+
integrity sha512-mQC2b3XLDs6QCW+pDQDiyO/EdGZYOygE8s5N5rrzjSI4M3IejPE/JPndCBwRT9z982aqQNi6beWs1UeayrQxxA==
1293+
1294+
"@emotion/weak-memoize@^0.2.5":
1295+
version "0.2.5"
1296+
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46"
1297+
integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==
1298+
11911299
"@eslint/eslintrc@^0.4.0", "@eslint/eslintrc@^0.4.3":
11921300
version "0.4.3"
11931301
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
@@ -2303,10 +2411,10 @@
23032411
"@webassemblyjs/wast-parser" "1.9.0"
23042412
"@xtuc/long" "4.2.2"
23052413

2306-
"@xstate/graph@^1.1.0":
2307-
version "1.3.0"
2308-
resolved "https://registry.yarnpkg.com/@xstate/graph/-/graph-1.3.0.tgz#710a7f24a86c81ff27d6cc6766102a15f3b23f7b"
2309-
integrity sha512-/gPDHcXvNm+DY0Cw+wHVza+6eebmqji6u5rEYKOIAUWuAFBn7svVY6VxtRnWnjGl9B3rHTioenV0ELH8GzK3eA==
2414+
"@xstate/graph@^1.4.0":
2415+
version "1.4.0"
2416+
resolved "https://registry.yarnpkg.com/@xstate/graph/-/graph-1.4.0.tgz#cbd5bb4c850de54598d09a99f87633c1789e0075"
2417+
integrity sha512-FRHLFmH785xT37E3xd5bxWO35mprztv7x2pkuGmmrSSlBvIcyBr/7VfJcfh+rs9fXmL0AejFOQLO13p6zO/Ucg==
23102418

23112419
"@xstate/inspect@^0.5.2":
23122420
version "0.5.2"
@@ -2323,12 +2431,12 @@
23232431
use-isomorphic-layout-effect "^1.0.0"
23242432
use-subscription "^1.3.0"
23252433

2326-
"@xstate/test@^0.4.2":
2327-
version "0.4.2"
2328-
resolved "https://registry.yarnpkg.com/@xstate/test/-/test-0.4.2.tgz#cd17c5435a455e15858f482db21175b285cd5ce0"
2329-
integrity sha512-MuEDYmHOV6W4mIIntOVVdj5tv2I+gDqhtR3iAazHOTHw2CL0y4d5WFHlFpV1TxIqQaSS6A2rXMCw9FYBnYmvhg==
2434+
"@xstate/test@^0.5.0":
2435+
version "0.5.0"
2436+
resolved "https://registry.yarnpkg.com/@xstate/test/-/test-0.5.0.tgz#d38047fb8d58f4968da14f17a57cbc80c892f53b"
2437+
integrity sha512-XcM++94Jq/dztL1G+DNN5FUgcP6QEYOUzP4ShoWJRUJTgqfb/a7y+z54mOjBDDHpLZp+6xrObZbNzxC6AKYagw==
23302438
dependencies:
2331-
"@xstate/graph" "^1.1.0"
2439+
"@xstate/graph" "^1.4.0"
23322440
chalk "^2.4.2"
23332441

23342442
"@xtuc/ieee754@^1.2.0":
@@ -2823,7 +2931,7 @@ babel-plugin-jest-hoist@^26.6.2:
28232931
"@types/babel__core" "^7.0.0"
28242932
"@types/babel__traverse" "^7.0.6"
28252933

2826-
babel-plugin-macros@2.8.0:
2934+
babel-plugin-macros@2.8.0, babel-plugin-macros@^2.6.1:
28272935
version "2.8.0"
28282936
resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz#0f958a7cc6556b1e65344465d99111a1e5e10138"
28292937
integrity sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==
@@ -3714,6 +3822,13 @@ convert-source-map@^0.3.3:
37143822
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190"
37153823
integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA=
37163824

3825+
convert-source-map@^1.5.0:
3826+
version "1.8.0"
3827+
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369"
3828+
integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==
3829+
dependencies:
3830+
safe-buffer "~5.1.1"
3831+
37173832
cookie-signature@1.0.6:
37183833
version "1.0.6"
37193834
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
@@ -5409,6 +5524,11 @@ find-cache-dir@^3.3.1:
54095524
make-dir "^3.0.2"
54105525
pkg-dir "^4.1.0"
54115526

5527+
find-root@^1.1.0:
5528+
version "1.1.0"
5529+
resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
5530+
integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==
5531+
54125532
find-up@4.1.0, find-up@^4.0.0, find-up@^4.1.0:
54135533
version "4.1.0"
54145534
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
@@ -5938,6 +6058,13 @@ hmac-drbg@^1.0.1:
59386058
minimalistic-assert "^1.0.0"
59396059
minimalistic-crypto-utils "^1.0.1"
59406060

6061+
hoist-non-react-statics@^3.3.1:
6062+
version "3.3.2"
6063+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
6064+
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
6065+
dependencies:
6066+
react-is "^16.7.0"
6067+
59416068
hoopy@^0.1.4:
59426069
version "0.1.4"
59436070
resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d"
@@ -9661,7 +9788,7 @@ react-error-overlay@^6.0.9:
96619788
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.9.tgz#3c743010c9359608c375ecd6bc76f35d93995b0a"
96629789
integrity sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==
96639790

9664-
react-is@^16.8.1:
9791+
react-is@^16.7.0, react-is@^16.8.1:
96659792
version "16.13.1"
96669793
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
96679794
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
@@ -10599,7 +10726,7 @@ source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, sourc
1059910726
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
1060010727
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
1060110728

10602-
source-map@^0.5.0, source-map@^0.5.6:
10729+
source-map@^0.5.0, source-map@^0.5.6, source-map@^0.5.7:
1060310730
version "0.5.7"
1060410731
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
1060510732
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
@@ -10961,6 +11088,11 @@ stylehacks@^4.0.0:
1096111088
postcss "^7.0.0"
1096211089
postcss-selector-parser "^3.0.0"
1096311090

11091+
stylis@4.0.13:
11092+
version "4.0.13"
11093+
resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91"
11094+
integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==
11095+
1096411096
supports-color@^2.0.0:
1096511097
version "2.0.0"
1096611098
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

0 commit comments

Comments
 (0)
Please sign in to comment.