aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-03-22 02:33:33 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-03-21 21:24:35 +0000
commit2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch)
treed919bda212744493a7b66c2e91a75455421d62cc /test
parentUpgrade electron to '29.1.5' (diff)
downloadferdium-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.ts4
-rw-r--r--test/helpers/array-helpers.test.ts1
-rw-r--r--test/themes/index.test.ts4
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 @@
1import PropTypes from 'prop-types';
2import { observable } from 'mobx'; 1import { observable } from 'mobx';
3import FeatureStore from '../../../src/features/utils/FeatureStore'; 2import PropTypes from 'prop-types';
4import { createActionsFromDefinitions } from '../../../src/actions/lib/actions'; 3import { createActionsFromDefinitions } from '../../../src/actions/lib/actions';
5import { createActionBindings } from '../../../src/features/utils/ActionBinding'; 4import { createActionBindings } from '../../../src/features/utils/ActionBinding';
5import FeatureStore from '../../../src/features/utils/FeatureStore';
6import { createReactions } from '../../../src/stores/lib/Reaction'; 6import { createReactions } from '../../../src/stores/lib/Reaction';
7 7
8const actions: any = createActionsFromDefinitions( 8const 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 @@
1import makeDefaultThemeConfig from '../../src/themes/default'; 1import { type ThemeType, theme } from '../../src/themes';
2import makeDarkThemeConfig from '../../src/themes/dark'; 2import makeDarkThemeConfig from '../../src/themes/dark';
3import { theme, ThemeType } from '../../src/themes'; 3import makeDefaultThemeConfig from '../../src/themes/default';
4 4
5describe('Load theme', () => { 5describe('Load theme', () => {
6 it('loads default theme', () => { 6 it('loads default theme', () => {