UNPKG

bedrock-zcap-storage-http

Version:
22 lines (17 loc) 625 B
/*! * Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved. */ 'use strict'; const {config} = require('bedrock'); const path = require('path'); config.mocha.tests.push(path.join(__dirname, 'mocha')); // mongodb config config.mongodb.name = 'bedrock_zcap_storage_http_test'; config.mongodb.host = 'localhost'; config.mongodb.port = 27017; // drop all collections on initialization config.mongodb.dropCollections = {}; config.mongodb.dropCollections.onInit = true; config.mongodb.dropCollections.collections = []; // allow self-signed certs in test framework config['https-agent'].rejectUnauthorized = false;