diff --git a/jestHelpers/setup.js b/jestHelpers/setup.js index 27be965ac8..3474b52702 100644 --- a/jestHelpers/setup.js +++ b/jestHelpers/setup.js @@ -1,15 +1,6 @@ import Enzyme from 'enzyme' import Adapter from 'enzyme-adapter-react-16' -// To avoid the errors while creating theme (since no CSS stylesheet -// defining CSS variables is injected during tests) -// Material-UI: the color provided to augmentColor(color) is invalid. -// The color object needs to have a `main` property or a `500` property. -jest.mock('cozy-ui/transpiled/react/utils/color', () => ({ - ...jest.requireActual('cozy-ui/transpiled/react/utils/color'), - getCssVariableValue: () => '#fff' -})) - global.cozy = {} jest.mock('cozy-bar/transpiled', () => ({ diff --git a/package.json b/package.json index 99485240ae..b20cd74816 100644 --- a/package.json +++ b/package.json @@ -85,10 +85,10 @@ "cozy-logger": "1.9.1", "cozy-realtime": "4.6.0", "cozy-scanner": "^7.0.1", - "cozy-scripts": "^8.1.0", + "cozy-scripts": "^8.3.0", "cozy-sharing": "10.0.1", "cozy-stack-client": "^45.2.0", - "cozy-ui": "100.1.0", + "cozy-ui": "^101.1.0", "date-fns": "1.30.1", "diacritics": "1.3.0", "filesize": "3.6.1", diff --git a/src/modules/navigation/Breadcrumb/breadcrumb.styl b/src/modules/navigation/Breadcrumb/breadcrumb.styl index dc49880968..35311947ce 100644 --- a/src/modules/navigation/Breadcrumb/breadcrumb.styl +++ b/src/modules/navigation/Breadcrumb/breadcrumb.styl @@ -1,5 +1,4 @@ @require 'components/popover.styl' -@require 'settings/palette.styl' @require 'settings/breakpoints.styl' @require 'settings/z-index.styl' @require '../../../styles/coz-bar-size.styl' diff --git a/src/modules/search/__snapshots__/AppBarSearch.spec.jsx.snap b/src/modules/search/__snapshots__/AppBarSearch.spec.jsx.snap index ccc036330d..6b8d4c66ed 100644 --- a/src/modules/search/__snapshots__/AppBarSearch.spec.jsx.snap +++ b/src/modules/search/__snapshots__/AppBarSearch.spec.jsx.snap @@ -4,12 +4,28 @@ exports[`should display the Searchbar 1`] = ` { "asFragment": [Function], "baseElement": +