diff options
Diffstat (limited to 'packages/theme/test/index.test.js')
-rw-r--r-- | packages/theme/test/index.test.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/theme/test/index.test.js b/packages/theme/test/index.test.js deleted file mode 100644 index 3906433c1..000000000 --- a/packages/theme/test/index.test.js +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | const expect = require('expect.js'); | ||
2 | |||
3 | const { colorBackground: colorBackgroundDefault } = require('../lib/themes/default'); | ||
4 | const { colorBackground: colorBackgroundDark } = require('../lib/themes/dark'); | ||
5 | const { default: theme } = require('../lib'); | ||
6 | |||
7 | describe('Load theme', () => { | ||
8 | it('Should load default theme', () => { | ||
9 | const { colorBackground } = theme('default'); | ||
10 | expect(colorBackground).to.be(colorBackgroundDefault); | ||
11 | }); | ||
12 | |||
13 | it('Should load dark theme', () => { | ||
14 | const { colorBackground } = theme('dark'); | ||
15 | expect(colorBackground).to.be(colorBackgroundDark); | ||
16 | }); | ||
17 | }); | ||