Browse Source

Increase test timeout because it sometimes fails in Travis

Gaël Métais 8 years ago
parent
commit
f4a1f06ba6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/core/fontAnalyzerTest.js

+ 2 - 0
test/core/fontAnalyzerTest.js

@@ -6,6 +6,8 @@ var path = require('path');
 describe('fontAnalyzer', function() {
     
     it('should extract metrics from a font', function(done) {
+        this.timeout(10000);
+
         var fileContent = fs.readFileSync(path.resolve(__dirname, '../www/SourceSansPro/SourceSansPro-Regular.woff'));
         var fileSize = fileContent.length;