rats-search/tests/init.js
Alexey Kasyanchuk dba71624af fix(db): broke remote connection (security purposes)
also fix starting on used ports of db
2018-08-12 02:42:24 +03:00

18 lines
518 B
JavaScript

import {startApplication, stopApplication} from "../tests/application";
global.logT = (...args) => {console.log(...args)}
global.logTE = (...args) => {console.log('error', ...args)}
describe("application", () => {
before(startApplication);
after(stopApplication);
it("check start", async function() {
const { app } = this
await app.client.waitForExist('#index-window')
// fix realtime config
require('../src/background/config').reload(await app.electron.remote.app.getPath('userData'))
});
//TESTS
});