mirror of
https://github.com/donl/slouch.git
synced 2026-05-29 06:12:16 -06:00
* test(exclude-design-docs): cannot guarantee order * fix(test): 10s is not always long enough * fix(test): 15s is not always long enough
20 lines
388 B
JavaScript
20 lines
388 B
JavaScript
'use strict';
|
|
|
|
var chai = require('chai');
|
|
chai.use(require('chai-as-promised'));
|
|
chai.should();
|
|
|
|
var config = require('./config.json');
|
|
|
|
if (process.env.COUCHDB_PORT) {
|
|
config.couchdb.port = process.env.COUCHDB_PORT;
|
|
}
|
|
|
|
describe('slouch', function () {
|
|
|
|
// Sometimes the DB gets a little backed up so we need more time for our tests
|
|
this.timeout(20000);
|
|
|
|
require('./spec');
|
|
|
|
});
|