diff --git a/test/karma.conf.js b/test/karma.conf.js index 9311873..ff82618 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -12,6 +12,12 @@ module.exports = function(config) { // available frameworks: https://npmjs.org/browse/keyword/karma-adapter frameworks: ['browserify', 'source-map-support', 'mocha'], + client: { + mocha: { + timeout: 10000 // 10 sec because Travis struggles sometimes. + } + }, + browserify: { debug: true, transform: [ diff --git a/test/spec/index.js b/test/spec/index.js index 60c6a76..b7815a7 100644 --- a/test/spec/index.js +++ b/test/spec/index.js @@ -62,8 +62,6 @@ describe('Clay', function() { it('handles the "showConfiguration" event if autoHandleEvents is not false', function() { - this.timeout(10000); // 10 seconds - stubPebble(); var clay = fixture.clay([]);