1
0
Fork 0

60 second timeout

This commit is contained in:
Enoch Riese 2022-11-15 16:17:04 -06:00
parent 452046fa90
commit 2f08c59e78
4 changed files with 7 additions and 6 deletions

View file

@ -155,7 +155,7 @@ describe('Utils', () => {
}) })
describe('curvesIntersect', function () { describe('curvesIntersect', function () {
this.timeout(15000) this.timeout(20000)
it('Should find 9 intersections between two curves', () => { it('Should find 9 intersections between two curves', () => {
let A = new Point(10, 10) let A = new Point(10, 10)
let Acp = new Point(310, 40) let Acp = new Point(310, 40)

View file

@ -18,13 +18,13 @@ spawn(
'run', 'run',
'--no-bail', '--no-bail',
'testci', 'testci',
'--stream', // '--stream',
'--parallel', // '--parallel',
'--loglevel', '--loglevel',
'error', 'error',
'--', '--',
'--file', // '--file',
`${collectorScript}`, // `${collectorScript}`,
'--no-warnings', '--no-warnings',
'--timeout', '--timeout',
'15000', '15000',

View file

@ -4,7 +4,7 @@ import chai from 'chai'
import { timingPlugin } from '@freesewing/plugin-timing' import { timingPlugin } from '@freesewing/plugin-timing'
const expect = chai.expect const expect = chai.expect
const ciTimeout = 30000 const ciTimeout = 60000
/* /*
* This runs unit tests for pattern drafting * This runs unit tests for pattern drafting

View file

@ -6,6 +6,7 @@ class TerseReporter {
constructor(runner) { constructor(runner) {
runner.on(EVENT_TEST_FAIL, (test, err) => { runner.on(EVENT_TEST_FAIL, (test, err) => {
console.log(` FAIL: ${test.fullTitle()}`) console.log(` FAIL: ${test.fullTitle()}`)
console.log(err)
}) })
} }
} }