Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder1 committed Feb 19, 2021
1 parent 1f6d1db commit 48c378f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions __test__/fakeInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,13 @@ const themes = {
lineColor: 'f4e23d',
pointColor: 'f4e7e7',
},
reactDark: {
bgColor: '0d1117',
borderColor: 'ffffff',
color: '5bcdec',
lineColor: '5bcdec',
pointColor: 'ffffff',
},
default: {
bgColor: 'ffcfe9',
borderColor: 'ffffff',
Expand Down
1 change: 1 addition & 0 deletions __test__/themes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ it('Theme testing', () => {
expect(selectColors('redical')).toEqual(themes['redical']);
expect(selectColors('xcode')).toEqual(themes['xcode']);
expect(selectColors('coral')).toEqual(themes['coral']);
expect(selectColors('react-dark')).toEqual(themes['reactDark']);
expect(selectColors('default')).toEqual(themes['default']);
});

0 comments on commit 48c378f

Please sign in to comment.