diff options
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/index.test.ts | 17 |
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 @@ | |||
1 | import makeDefaultThemeConfig from './default'; | ||
2 | import makeDarkThemeConfig from './dark'; | ||
3 | import { theme, ThemeType } from '.'; | ||
4 | |||
5 | describe('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 | }); | ||