Skip to content

Commit

Permalink
feat: upgrade cozy-ui to latest (79.3.0)
Browse files Browse the repository at this point in the history
Will be used for updated BottomSheet
  • Loading branch information
acezard committed Jan 4, 2023
1 parent a157f5a commit 80eeea1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"cozy-realtime": "4.2.9",
"cozy-sharing": "4.5.2",
"cozy-stack-client": "^34.1.5",
"cozy-ui": "^78.1.1",
"cozy-ui": "^79.3.0",
"date-fns": "2.28.0",
"es-abstract": "1.20.2",
"form-data": "2.5.1",
Expand Down
9 changes: 9 additions & 0 deletions src/containers/App.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ jest.mock('react-router-dom', () => ({
withRouter: children => children
}))

jest.mock('cozy-device-helper', () => ({
isFlagshipApp: jest.fn(),
getFlagshipMetadata: jest.fn().mockReturnValue({
immersive: jest.fn()
}),
isAndroidApp: jest.fn(),
isIOS: jest.fn()
}))

describe('App', () => {
it('should keep backgroundImage fixed on Flagship app scroll', () => {
// Given
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5986,10 +5986,10 @@ cozy-stack-client@^34.1.5:
mime "^2.4.0"
qs "^6.7.0"

cozy-ui@^78.1.1:
version "78.1.1"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-78.1.1.tgz#cd31ccf190ae635e7126c239cdafc332d68d15c5"
integrity sha512-ukYPEqPZ0ttVqRVef7s0o2xWhMXoX/5VOvpbDEoebprhCo67QQ5THOImMJffgOFH5HKbemhFNZ897XlcxvoyGQ==
cozy-ui@^79.3.0:
version "79.3.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-79.3.0.tgz#9915a3f1aab474b00dc4033d907a31fabb2d1c08"
integrity sha512-OR9KZF9i+alc2sWC7gG2lNuBqiIjJnxkctwt44mK1jWHpQWrQ/4d4HhOcwAcDoAkIWiQyLvmiZivfZVZ3fL/QQ==
dependencies:
"@babel/runtime" "^7.3.4"
"@material-ui/core" "4.12.3"
Expand Down Expand Up @@ -11764,9 +11764,9 @@ msgpack5@^4.0.2:
readable-stream "^2.3.6"
safe-buffer "^5.1.2"

"mui-bottom-sheet@https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
"mui-bottom-sheet@git+https://github.com/cozy/mui-bottom-sheet.git#v1.0.9":
version "1.0.8"
resolved "https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
resolved "git+https://github.com/cozy/mui-bottom-sheet.git#3dc4c2a245ab39079bc2f73546bccf80847be14c"
dependencies:
"@juggle/resize-observer" "^3.1.3"
jest-environment-jsdom-sixteen "^1.0.3"
Expand Down

0 comments on commit 80eeea1

Please sign in to comment.