|
|
@@ -303,7 +303,7 @@ describe('SettingsPage', () => {
|
|
|
|
|
|
expect(localStorage.setItem).toHaveBeenCalledWith(
|
|
|
SIDEBAR_ORDER_KEY,
|
|
|
- JSON.stringify(['ext-7', 'printers', 'inventory', 'archives', 'queue', 'projects', 'files', 'makerworld', 'profiles', 'maintenance', 'stats', 'notifications', 'settings']),
|
|
|
+ JSON.stringify(['ext-7', 'printers', 'inventory', 'archives', 'queue', 'projects', 'finance', 'files', 'makerworld', 'profiles', 'maintenance', 'stats', 'notifications', 'settings']),
|
|
|
);
|
|
|
});
|
|
|
|
|
|
@@ -345,7 +345,7 @@ describe('SettingsPage', () => {
|
|
|
expect(localStorage.setItem).toHaveBeenCalledWith(SIDEBAR_HIDDEN_SYSTEM_ITEMS_KEY, JSON.stringify([]));
|
|
|
expect(localStorage.setItem).toHaveBeenCalledWith(
|
|
|
SIDEBAR_ORDER_KEY,
|
|
|
- JSON.stringify(['printers', 'inventory', 'archives', 'queue', 'projects', 'files', 'makerworld', 'profiles', 'maintenance', 'stats', 'notifications', 'settings', 'ext-7']),
|
|
|
+ JSON.stringify(['printers', 'inventory', 'archives', 'queue', 'projects', 'finance', 'files', 'makerworld', 'profiles', 'maintenance', 'stats', 'notifications', 'settings', 'ext-7']),
|
|
|
);
|
|
|
|
|
|
const settingsRow = screen.getAllByText('Settings')
|
|
|
@@ -411,6 +411,7 @@ describe('SettingsPage', () => {
|
|
|
'archives',
|
|
|
'queue',
|
|
|
'projects',
|
|
|
+ 'finance',
|
|
|
'files',
|
|
|
'makerworld',
|
|
|
'profiles',
|