fix: cant require electron.app in preload script

This commit is contained in:
tiddlygit-test 2021-07-05 00:25:44 +08:00
parent 4207937d81
commit 47cb058381
5 changed files with 16 additions and 9 deletions

View file

@ -1,7 +1,8 @@
import { After, Before, Status } from '@cucumber/cucumber';
import { After, Before } from '@cucumber/cucumber';
import fs from 'fs-extra';
import { SETTINGS_FOLDER, DEFAULT_WIKI_FOLDER } from '../../src/constants/paths';
import { DEFAULT_WIKI_FOLDER } from '../../src/constants/paths';
import { SETTINGS_FOLDER } from '../../src/constants/appPaths';
import { TiddlyGitWorld } from './world';
Before(async function () {