diff --git a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/index.ts b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/index.ts index 561461aa..ab84d800 100644 --- a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/index.ts +++ b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/index.ts @@ -3,6 +3,7 @@ import { to_2 } from './to_2.ts'; import { to_3 } from './to_3.ts'; import { to_4 } from './to_4.ts'; import { to_5 } from './to_5.ts'; +import { to_6 } from './to_6.ts'; import { MigrationStructure } from '@/hooks/Mapper/mapRootProvider/types.ts'; -export default [to_1, to_2, to_3, to_4, to_5] as MigrationStructure[]; +export default [to_1, to_2, to_3, to_4, to_5, to_6] as MigrationStructure[]; diff --git a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.test.ts b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.test.ts index 5c335f14..e65d56d8 100644 --- a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.test.ts +++ b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.test.ts @@ -1,7 +1,7 @@ import { DotlanBehavior } from '@/hooks/Mapper/mapRootProvider/types.ts'; import { to_5 } from './to_5.ts'; -describe('to_5', () => { +describe('to_6', () => { it('adds the default Dotlan behavior to existing interface settings', () => { const previousSettings = { interface: { diff --git a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.ts b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.ts index c6bfe963..a045ad75 100644 --- a/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.ts +++ b/assets/js/hooks/Mapper/mapRootProvider/migrations/list/to_6.ts @@ -1,6 +1,6 @@ import { DotlanBehavior, MigrationStructure } from '@/hooks/Mapper/mapRootProvider/types.ts'; -export const to_5: MigrationStructure = { +export const to_6: MigrationStructure = { to: 6, up: prev => ({ ...prev,