aboutsummaryrefslogtreecommitdiffstats
path: root/src/themes
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-06-26 01:26:19 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-25 23:26:19 +0000
commit465b5772763ccb8d4970d4c55e30a518abb7be3e (patch)
treee929e34910dbf6a3958cdc4de77dc1dcae93e7b0 /src/themes
parentchore: add more strict types in electron directory (#367) (diff)
downloadferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.tar.gz
ferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.tar.zst
ferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.zip
chore: moved tests to ./test directory (#366)
* chore: allow coverage to be generated from non-tested files
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/index.test.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/themes/index.test.ts b/src/themes/index.test.ts
deleted file mode 100644
index e9f0f391b..000000000
--- a/src/themes/index.test.ts
+++ /dev/null
@@ -1,17 +0,0 @@
1import makeDefaultThemeConfig from './default';
2import makeDarkThemeConfig from './dark';
3import { theme, ThemeType } from '.';
4
5describe('Load theme', () => {
6 it('loads default theme', () => {
7 const { colorBackground } = theme('default' as ThemeType);
8 expect(colorBackground).toBe(
9 makeDefaultThemeConfig('default').colorBackground,
10 );
11 });
12
13 it('loads dark theme', () => {
14 const { colorBackground } = theme('dark' as ThemeType);
15 expect(colorBackground).toBe(makeDarkThemeConfig('dark').colorBackground);
16 });
17});