ソースを参照

Increase test timeout because it sometimes fails in Travis

Gaël Métais 8 年 前
コミット
f4a1f06ba6
1 ファイル変更2 行追加0 行削除
  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;