From b013e66883fc264135b0623e24dd8c0b162e82a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 1 Jun 2016 09:26:45 +0200 Subject: [PATCH] test: increase timeouts on CI --- test/rest.middleware.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/rest.middleware.test.js b/test/rest.middleware.test.js index 2e372f0e..f2a97d02 100644 --- a/test/rest.middleware.test.js +++ b/test/rest.middleware.test.js @@ -17,6 +17,9 @@ describe('loopback.rest', function() { MyModel.attachTo(db); }); + if (process.env.CI) + this.timeout(3000); + it('works out-of-the-box', function(done) { app.model(MyModel); app.use(loopback.rest());