mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-06 09:07:19 -04:00
Globally increase mocha timeout because Travis struggles sometimes
This commit is contained in:
@@ -12,6 +12,12 @@ module.exports = function(config) {
|
|||||||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
||||||
frameworks: ['browserify', 'source-map-support', 'mocha'],
|
frameworks: ['browserify', 'source-map-support', 'mocha'],
|
||||||
|
|
||||||
|
client: {
|
||||||
|
mocha: {
|
||||||
|
timeout: 10000 // 10 sec because Travis struggles sometimes.
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
browserify: {
|
browserify: {
|
||||||
debug: true,
|
debug: true,
|
||||||
transform: [
|
transform: [
|
||||||
|
|||||||
@@ -62,8 +62,6 @@ describe('Clay', function() {
|
|||||||
|
|
||||||
it('handles the "showConfiguration" event if autoHandleEvents is not false',
|
it('handles the "showConfiguration" event if autoHandleEvents is not false',
|
||||||
function() {
|
function() {
|
||||||
this.timeout(10000); // 10 seconds
|
|
||||||
|
|
||||||
stubPebble();
|
stubPebble();
|
||||||
var clay = fixture.clay([]);
|
var clay = fixture.clay([]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user