Skip to content

Commit

Permalink
test: 馃毃 fixed minor type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Can-Sahin committed Jan 18, 2021
1 parent 02d9a1d commit 976d19d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
"devDependencies": {
"@commitlint/cli": "9.1.2",
"@commitlint/config-conventional": "9.1.2",
"@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "11.0.2",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.3",
"@types/fontfaceobserver": "0.0.6",
"@types/jest": "25.1.4",
"@types/node": "14.6.4",
Expand Down
4 changes: 2 additions & 2 deletions src/app/containers/LanguageSwitch/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('<LanguageSwitch />', () => {

let languageSwitch = renderLanguageSwitch();
let label = languageSwitch.queryByText(
t(translations.i18nFeature.selectLanguage),
t(translations.i18nFeature.selectLanguage) as string,
);
expect(label).toBeInTheDocument();

Expand All @@ -36,7 +36,7 @@ describe('<LanguageSwitch />', () => {

languageSwitch = renderLanguageSwitch();
label = languageSwitch.queryByText(
t(translations.i18nFeature.selectLanguage),
t(translations.i18nFeature.selectLanguage) as string,
);
expect(label).toBeInTheDocument();
});
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1719,10 +1719,10 @@
"@svgr/plugin-svgo" "^5.4.0"
loader-utils "^2.0.0"

"@testing-library/dom@^7.23.0":
version "7.26.6"
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.26.6.tgz#d558db63070a3acea5bea7e2497e631cd12541cc"
integrity sha512-/poL7WMpolcGFOHMcxfcFkf1u38DcBUjk3YwNYpBs/MdJ546lg0YdvP2Lq3ujuQzAZxgs8vVvadj3MBnZsBjjA==
"@testing-library/dom@^7.28.1":
version "7.29.4"
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.29.4.tgz#1647c2b478789621ead7a50614ad81ab5ae5b86c"
integrity sha512-CtrJRiSYEfbtNGtEsd78mk1n1v2TUbeABlNIcOCJdDfkN5/JTOwQEbbQpoSRxGqzcWPgStMvJ4mNolSuBRv1NA==
dependencies:
"@babel/code-frame" "^7.10.4"
"@babel/runtime" "^7.12.5"
Expand All @@ -1733,10 +1733,10 @@
lz-string "^1.4.4"
pretty-format "^26.6.2"

"@testing-library/jest-dom@5.11.4":
version "5.11.4"
resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-5.11.4.tgz#f325c600db352afb92995c2576022b35621ddc99"
integrity sha512-6RRn3epuweBODDIv3dAlWjOEHQLpGJHB2i912VS3JQtsD22+ENInhdDNl4ZZQiViLlIfFinkSET/J736ytV9sw==
"@testing-library/jest-dom@5.11.9":
version "5.11.9"
resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-5.11.9.tgz#e6b3cd687021f89f261bd53cbe367041fbd3e975"
integrity sha512-Mn2gnA9d1wStlAIT2NU8J15LNob0YFBVjs2aEQ3j8rsfRQo+lAs7/ui1i2TGaJjapLmuNPLTsrm+nPjmZDwpcQ==
dependencies:
"@babel/runtime" "^7.9.2"
"@types/testing-library__jest-dom" "^5.9.1"
Expand All @@ -1747,13 +1747,13 @@
lodash "^4.17.15"
redent "^3.0.0"

"@testing-library/react@11.0.2":
version "11.0.2"
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-11.0.2.tgz#4588cc537085907bd1d98b531eb247dbbf57b1cc"
integrity sha512-iOuNNHt4ZgMH5trSKC4kaWDcKzUOf7e7KQIcu7xvGCd68/w1EegbW89F9T5sZ4IjS0gAXdvOfZbG9ESZ7YjOug==
"@testing-library/react@11.2.3":
version "11.2.3"
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-11.2.3.tgz#9971ede1c8465a231d7982eeca3c39fc362d5443"
integrity sha512-BirBUGPkTW28ULuCwIbYo0y2+0aavHczBT6N9r3LrsswEW3pg25l1wgoE7I8QBIy1upXWkwKpYdWY7NYYP0Bxw==
dependencies:
"@babel/runtime" "^7.11.2"
"@testing-library/dom" "^7.23.0"
"@babel/runtime" "^7.12.5"
"@testing-library/dom" "^7.28.1"

"@types/anymatch@*":
version "1.3.1"
Expand Down

0 comments on commit 976d19d

Please sign in to comment.