diff --git a/site/cypress/integration/mon-entreprise/persistence-simulation.js b/site/cypress/integration/mon-entreprise/persistence-simulation.js index a8f4deb4a..3e40fee2c 100644 --- a/site/cypress/integration/mon-entreprise/persistence-simulation.js +++ b/site/cypress/integration/mon-entreprise/persistence-simulation.js @@ -19,7 +19,7 @@ describe('Persistence (simulateur salariƩ)', function () { cy.get('body').should(() => { expect( window.localStorage.getItem( - 'mon-entreprise::persisted-simulation::v5::/simulateurs/salaire-brut-net' + 'mon-entreprise::persisted-simulation::v6::/simulateurs/salaire-brut-net' ) ).to.be.not.null }) diff --git a/site/source/storage/persistSimulation.ts b/site/source/storage/persistSimulation.ts index 4f5780673..1d99b1fc1 100644 --- a/site/source/storage/persistSimulation.ts +++ b/site/source/storage/persistSimulation.ts @@ -6,7 +6,7 @@ import { debounce } from '../utils' import * as safeLocalStorage from './safeLocalStorage' import { deserialize, serialize } from './serializeSimulation' -const VERSION = 5 +const VERSION = 6 const localStorageKey = (pathname: string) => `mon-entreprise::persisted-simulation::v${VERSION}::${pathname}`