From cc3303cbd87b1dbfe4e41ff8acf4df9e3dc0805d Mon Sep 17 00:00:00 2001 From: Aditya Mangalampalli Date: Thu, 12 May 2022 16:34:53 -0700 Subject: 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 --- test/themes/index.test.ts | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/themes/index.test.ts (limited to 'test/themes') 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 @@ -import expect from 'expect.js'; - -import makeDefaultThemeConfig from '../../src/themes/default'; -import makeDarkThemeConfig from '../../src/themes/dark'; -import { theme, ThemeType } from '../../src/themes'; - -describe('Load theme', () => { - it('Should load default theme', () => { - const { colorBackground } = theme('default' as ThemeType); - expect(colorBackground).to.be( - makeDefaultThemeConfig('default').colorBackground, - ); - }); - - it('Should load dark theme', () => { - const { colorBackground } = theme('dark' as ThemeType); - expect(colorBackground).to.be(makeDarkThemeConfig('dark').colorBackground); - }); -}); -- cgit v1.2.3-70-g09d2