Browse Source

Add workaround for dialog test

master
jeffvli 3 years ago
committed by Jeff
parent
commit
6a959eddf4
  1. 2
      src/components/settings/ConfigPanels/ExternalConfig.tsx

2
src/components/settings/ConfigPanels/ExternalConfig.tsx

@ -14,7 +14,7 @@ import { useAppDispatch, useAppSelector } from '../../../redux/hooks';
import { setOBS } from '../../../redux/configSlice';
import ConfigOption from '../ConfigOption';
const { dialog } = require('electron').remote;
const dialog: any = process.env.NODE_ENV === 'test' ? '' : require('electron').remote.dialog;
const ExternalConfig = () => {
const dispatch = useAppDispatch();

Loading…
Cancel
Save