fix(chore): Fix to_6 migration

This commit is contained in:
DanSylvest
2026-09-11 11:57:59 +03:00
parent 92da50962e
commit ea7adc8840
3 changed files with 4 additions and 3 deletions
@@ -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[];
@@ -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: {
@@ -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,