Skip to content

Commit d5dcd2c

Browse files
committed
Remove new window test, increase timeout and concurrency
1 parent 1fca9f6 commit d5dcd2c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

saucelabs.karma.conf.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,12 @@ module.exports = (config) => {
103103

104104
// Concurrency level
105105
// how many browser should be started simultaneous
106-
concurrency: 1,
106+
concurrency: Infinity,
107107

108-
reporters: ['saucelabs', 'mocha', 'coverage'], // 2
108+
browserNoActivityTimeout: 60000,
109+
captureTimeout: 120000,
110+
111+
reporters: ['saucelabs', 'progress', 'mocha', 'coverage'], // 2
109112
browsers: Object.keys(browsers), // 3
110113
customLaunchers: browsers, // 4
111114

specs/init/standard.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ describe('jsPDF init options', () => {
107107
}
108108
const doc = jsPDF()
109109
doc.text(10, 10, 'This is a test')
110-
expect(doc.output('dataurlnewwindow').Window).toEqual(jasmine.any(Function))
110+
doc.output('dataurlnewwindow')
111+
//expect(doc.output('dataurlnewwindow').Window).toEqual(jasmine.any(Function))
111112
})
112113

113114
const renderBoxes = (doc) => {

0 commit comments

Comments
 (0)