diff --git a/pages/API/get-app-base-info/get-app-base-info.test.js b/pages/API/get-app-base-info/get-app-base-info.test.js index a47c21f65fe31c30429f3d7379415c9ca499e4fb..cbd9e18b9e45e6c6a5c2ac3b36946116c1a7d259 100644 --- a/pages/API/get-app-base-info/get-app-base-info.test.js +++ b/pages/API/get-app-base-info/get-app-base-info.test.js @@ -41,6 +41,9 @@ describe('ExtApi-GetAppBaseInfo', () => { if (booleanProperties.indexOf(key) != -1) { expect(value).not.toBeNull(); expect(typeof value).toBe('boolean'); + } + if (key == "appTheme") { + expect(['light', 'dark', 'auto']).toContain(value); } } }); diff --git a/pages/API/get-system-info/get-system-info.test.js b/pages/API/get-system-info/get-system-info.test.js index 888aa8cdff3d1cc7987097cecb9effa1936be07d..f8b2f9d3494ba8c06bd810dd1f0a5667942b85e2 100644 --- a/pages/API/get-system-info/get-system-info.test.js +++ b/pages/API/get-system-info/get-system-info.test.js @@ -54,6 +54,9 @@ describe('ExtApi-GetSystemInfo', () => { if (key == "osTheme") { expect(['light', 'dark']).toContain(value); } + if (key == "appTheme") { + expect(['light', 'dark', 'auto']).toContain(value); + } } }); it('Check GetSystemInfoSync required properties', async () => {