uncomment code

This commit is contained in:
Martin McKeaveney 2021-04-15 16:50:06 +01:00
parent 9cebd859f8
commit b94a964775
1 changed files with 7 additions and 7 deletions

View File

@ -15,13 +15,13 @@ let POUCH_DB_DEFAULTS = {
skip_setup: env.isProd(), skip_setup: env.isProd(),
} }
// if (env.isTest()) { if (env.isTest()) {
// PouchDB.plugin(require("pouchdb-adapter-memory")) PouchDB.plugin(require("pouchdb-adapter-memory"))
// POUCH_DB_DEFAULTS = { POUCH_DB_DEFAULTS = {
// prefix: undefined, prefix: undefined,
// adapter: "memory", adapter: "memory",
// } }
// } }
const Pouch = PouchDB.defaults(POUCH_DB_DEFAULTS) const Pouch = PouchDB.defaults(POUCH_DB_DEFAULTS)