Skip to content

Commit

Permalink
fix: test failed on macOS system (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 authored Mar 22, 2022
1 parent 4737544 commit 3fc3dfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/commands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class Commands extends React.Component<CommandsProps> {
return (
<div
className={
process.platform === 'darwin' ? 'commands is-mac' : 'commands'
!process.env.JEST && process.platform === 'darwin'
? 'commands is-mac'
: 'commands'
}
onDoubleClick={this.handleDoubleClick}
>
Expand Down

0 comments on commit 3fc3dfc

Please sign in to comment.