feat(tests): db test

This commit is contained in:
Alexey Kasyanchuk
2018-02-04 00:31:24 +03:00
parent 28305250aa
commit ae6864ba55
5 changed files with 96 additions and 7 deletions

View File

@ -42,10 +42,10 @@ let config = {
const fs = require('fs');
const debug = require('debug')('config')
let configPath = 'config.json'
let configPath = 'rats.json'
if(app && app.getPath("userData") && app.getPath("userData").length > 0)
{
configPath = app.getPath("userData") + '/config.json'
configPath = app.getPath("userData") + '/rats.json'
}
const configProxy = new Proxy(config, {