Ver código fonte

increase timeout

mizozobu 7 anos atrás
pai
commit
9fdaeae7e3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/test/setup.js

+ 1 - 1
src/test/setup.js

@@ -4,7 +4,7 @@ const mongoose = require('mongoose');
 
 mongoose.Promise = global.Promise;
 
-jest.setTimeout(10000);
+jest.setTimeout(15000); // default 5000
 
 beforeAll(async(done) => {
   await mongoose.connect(mongoUri, { useNewUrlParser: true });