diff options
Diffstat (limited to 'packages/theme/test/index.test.ts')
-rw-r--r-- | packages/theme/test/index.test.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/theme/test/index.test.ts b/packages/theme/test/index.test.ts deleted file mode 100644 index 7eda4e359..000000000 --- a/packages/theme/test/index.test.ts +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | import expect from 'expect.js'; | ||
2 | |||
3 | import makeDefaultThemeConfig from '../src/themes/default'; | ||
4 | import makeDarkThemeConfig from '../src/themes/dark'; | ||
5 | import { theme, ThemeType } from '../src'; | ||
6 | |||
7 | describe('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 | }); | ||