mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-09-26 06:56:23 +00:00
fix(chore): Fix to_6 migration
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user