aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Aditya Mangalampalli <aditya.mangalampalli@gmail.com>2022-05-12 16:34:53 -0700
committerLibravatar GitHub <noreply@github.com>2022-05-12 23:34:53 +0000
commitcc3303cbd87b1dbfe4e41ff8acf4df9e3dc0805d (patch)
tree73fd8c74939bda1ead888d6b6dccbdf68646fabb /test
parentfix: preload script detection in unit tests (diff)
downloadferdium-app-cc3303cbd87b1dbfe4e41ff8acf4df9e3dc0805d.tar.gz
ferdium-app-cc3303cbd87b1dbfe4e41ff8acf4df9e3dc0805d.tar.zst
ferdium-app-cc3303cbd87b1dbfe4e41ff8acf4df9e3dc0805d.zip
Add Unit Testing for `url-helpers.ts`; Moved all tests into single pattern so they are run as a suite (#112)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r--test/themes/index.test.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/themes/index.test.ts b/test/themes/index.test.ts
deleted file mode 100644
index 042b70009..000000000
--- a/test/themes/index.test.ts
+++ /dev/null
@@ -1,19 +0,0 @@
1import expect from 'expect.js';
2
3import makeDefaultThemeConfig from '../../src/themes/default';
4import makeDarkThemeConfig from '../../src/themes/dark';
5import { theme, ThemeType } from '../../src/themes';
6
7describe('Load theme', () => {
8 it('Should load default theme', () => {
9 const { colorBackground } = theme('default' as ThemeType);
10 expect(colorBackground).to.be(
11 makeDefaultThemeConfig('default').colorBackground,
12 );
13 });
14
15 it('Should load dark theme', () => {
16 const { colorBackground } = theme('dark' as ThemeType);
17 expect(colorBackground).to.be(makeDarkThemeConfig('dark').colorBackground);
18 });
19});