diff options
author | 2024-03-22 02:33:33 +0530 | |
---|---|---|
committer | 2024-03-21 21:24:35 +0000 | |
commit | 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch) | |
tree | d919bda212744493a7b66c2e91a75455421d62cc /test | |
parent | Upgrade electron to '29.1.5' (diff) | |
download | ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip |
Upgrade node modules
Diffstat (limited to 'test')
-rw-r--r-- | test/features/utils/FeatureStore.test.ts | 4 | ||||
-rw-r--r-- | test/helpers/array-helpers.test.ts | 1 | ||||
-rw-r--r-- | test/themes/index.test.ts | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/test/features/utils/FeatureStore.test.ts b/test/features/utils/FeatureStore.test.ts index de40d257e..2178ac99e 100644 --- a/test/features/utils/FeatureStore.test.ts +++ b/test/features/utils/FeatureStore.test.ts | |||
@@ -1,8 +1,8 @@ | |||
1 | import PropTypes from 'prop-types'; | ||
2 | import { observable } from 'mobx'; | 1 | import { observable } from 'mobx'; |
3 | import FeatureStore from '../../../src/features/utils/FeatureStore'; | 2 | import PropTypes from 'prop-types'; |
4 | import { createActionsFromDefinitions } from '../../../src/actions/lib/actions'; | 3 | import { createActionsFromDefinitions } from '../../../src/actions/lib/actions'; |
5 | import { createActionBindings } from '../../../src/features/utils/ActionBinding'; | 4 | import { createActionBindings } from '../../../src/features/utils/ActionBinding'; |
5 | import FeatureStore from '../../../src/features/utils/FeatureStore'; | ||
6 | import { createReactions } from '../../../src/stores/lib/Reaction'; | 6 | import { createReactions } from '../../../src/stores/lib/Reaction'; |
7 | 7 | ||
8 | const actions: any = createActionsFromDefinitions( | 8 | const actions: any = createActionsFromDefinitions( |
diff --git a/test/helpers/array-helpers.test.ts b/test/helpers/array-helpers.test.ts index ee94bac80..662d6b828 100644 --- a/test/helpers/array-helpers.test.ts +++ b/test/helpers/array-helpers.test.ts | |||
@@ -7,6 +7,7 @@ describe('array_helpers', () => { | |||
7 | 7 | ||
8 | // Expect the arrays to be exactly the same | 8 | // Expect the arrays to be exactly the same |
9 | // when both are sorted alphabetically | 9 | // when both are sorted alphabetically |
10 | // eslint-disable-next-line sonar/no-alphabetical-sort | ||
10 | expect(shuffledArray.sort()).toEqual(originalArray.sort()); | 11 | expect(shuffledArray.sort()).toEqual(originalArray.sort()); |
11 | }); | 12 | }); |
12 | }); | 13 | }); |
diff --git a/test/themes/index.test.ts b/test/themes/index.test.ts index 387a296a8..8f23dfb75 100644 --- a/test/themes/index.test.ts +++ b/test/themes/index.test.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import makeDefaultThemeConfig from '../../src/themes/default'; | 1 | import { type ThemeType, theme } from '../../src/themes'; |
2 | import makeDarkThemeConfig from '../../src/themes/dark'; | 2 | import makeDarkThemeConfig from '../../src/themes/dark'; |
3 | import { theme, ThemeType } from '../../src/themes'; | 3 | import makeDefaultThemeConfig from '../../src/themes/default'; |
4 | 4 | ||
5 | describe('Load theme', () => { | 5 | describe('Load theme', () => { |
6 | it('loads default theme', () => { | 6 | it('loads default theme', () => { |