Skip to content

Commit 03dced4

Browse files
committed
fix: migration 122 test lint
1 parent 39c24b4 commit 03dced4

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

app/scripts/migrations/122.test.ts

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,29 @@ describe('migration #122', () => {
4646
expect(transformedState.data).toEqual(expectedState);
4747
});
4848

49-
it('sets redesignedConfirmationsEnabled to true even with original preferences object in the'
50-
+'state', async () => {
51-
const oldStorage = {
52-
PreferencesController: {
53-
},
54-
};
49+
it(
50+
'sets redesignedConfirmationsEnabled to true even with original preferences object in the' +
51+
'state',
52+
async () => {
53+
const oldStorage = {
54+
PreferencesController: {},
55+
};
5556

56-
const expectedState = {
57-
PreferencesController: {
58-
preferences: {
59-
redesignedConfirmationsEnabled: true,
57+
const expectedState = {
58+
PreferencesController: {
59+
preferences: {
60+
redesignedConfirmationsEnabled: true,
61+
},
6062
},
61-
},
62-
};
63+
};
6364

64-
const transformedState = await migrate({
65-
meta: { version: oldVersion },
66-
data: oldStorage,
67-
});
65+
const transformedState = await migrate({
66+
meta: { version: oldVersion },
67+
data: oldStorage,
68+
});
6869

69-
expect(transformedState.data).toEqual(expectedState);
70-
});
70+
expect(transformedState.data).toEqual(expectedState);
71+
},
72+
);
7173
});
7274
});

0 commit comments

Comments
 (0)