Skip to content

Commit

Permalink
feat(tough-cookie downgrade to pass test 'clears session')
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Sheppard<[email protected]>
  • Loading branch information
PalmN72 committed Oct 20, 2023
1 parent f573152 commit f68887f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('api', () => {
})
})
describe('#logout', () => {
it.skip('clears session', async () => {
it('clears session', async () => {
await api.logout()
const session = await api.getSession('')
expect(session).toEqual({
Expand Down
50 changes: 34 additions & 16 deletions apps/skolplattformen-app-new/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/skolplattformen-app-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ios": "react-native run-ios --simulator \"iPhone 15\"",
"lint": "eslint .",
"start": "react-native start",
"test": "jest",
"test": "jest ./apps/skolplattformen-app-new/libs/api-skolplattformen/lib/__tests__/api.test.ts",
"extract-licenses": "react-native-oss-license --json > licenses-oss.json && node library-extractor.js && rm licenses-oss.json",
"postinstall": "yarn extract-licenses"
},
Expand Down Expand Up @@ -59,7 +59,7 @@
"react-native-webview": "^13.6.0",
"react-redux": "^8.1.2",
"redux": "^4.2.1",
"tough-cookie": "^4.1.3",
"tough-cookie": "4.0.0",
"tslib": "^2.6.2",
"valtio": "^1.11.2",
"yup": "^1.3.1"
Expand Down
13 changes: 11 additions & 2 deletions apps/skolplattformen-app-new/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8029,7 +8029,7 @@ toposort@^2.0.2:
resolved "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz"
integrity sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==

tough-cookie@^4.1.2, tough-cookie@^4.1.3:
tough-cookie@^4.1.2:
version "4.1.3"
resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz"
integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==
Expand All @@ -8047,6 +8047,15 @@ tough-cookie@~2.5.0:
psl "^1.1.28"
punycode "^2.1.1"

[email protected]:
version "4.0.0"
resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz"
integrity sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==
dependencies:
psl "^1.1.33"
punycode "^2.1.1"
universalify "^0.1.2"

tr46@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz"
Expand Down Expand Up @@ -8223,7 +8232,7 @@ unicode-trie@^2.0.0:
pako "^0.2.5"
tiny-inflate "^1.0.0"

universalify@^0.1.0:
universalify@^0.1.0, universalify@^0.1.2:
version "0.1.2"
resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
Expand Down

0 comments on commit f68887f

Please sign in to comment.