From e504d82554e01c3dc88610d7f8302dab406c2379 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 19 Sep 2016 17:11:42 +0900 Subject: [PATCH] spec: Suppress the download.pdf test on AppVeyor --- spec/api-session-spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js index 00bc3cfd3f01..2d8d1ca82a2f 100644 --- a/spec/api-session-spec.js +++ b/spec/api-session-spec.js @@ -324,6 +324,9 @@ describe('session module', function () { }) it('can generate a default filename', function (done) { + // Somehow this test always fail on appveyor. + if (process.env.APPVEYOR === 'True') return done() + downloadServer.listen(0, '127.0.0.1', function () { var port = downloadServer.address().port ipcRenderer.sendSync('set-download-option', true, false)