Skip to content

Commit

Permalink
fix: typescript arg
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Mar 16, 2022
1 parent 4f5cafb commit 4987a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec-main/api-browser-window-spec.ts
Expand Up @@ -1087,10 +1087,10 @@ describe('BrowserWindow module', () => {
expect(w.getBackgroundColor()).to.equal('#8A2BE2');

w.setBackgroundColor('rgb(255, 0, 185)');
expect(w.getBackgroundColor('hex')).to.equal('#FF00B9');
expect(w.getBackgroundColor()).to.equal('#FF00B9');

w.setBackgroundColor('rgba(245, 40, 145, 0.8)');
expect(w.getBackgroundColor('hex')).to.equal('#F52891');
expect(w.getBackgroundColor()).to.equal('#F52891');

w.setBackgroundColor('hsl(155, 100%, 50%)');
expect(w.getBackgroundColor()).to.equal('#00FF95');
Expand Down

0 comments on commit 4987a7a

Please sign in to comment.