From 181731f8f46e2425d43bf2ddc73edcc69d96926b Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 17 Oct 2022 15:54:43 +0100 Subject: [PATCH] Tests: increase timeout to 30s Font discovery appears to be slooow on Windows --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 94ca748d..5cc19f6d 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*", "test": "npm run test-lint && npm run test-unit && npm run test-licensing", "test-lint": "semistandard && cpplint", - "test-unit": "nyc --reporter=lcov --reporter=text --check-coverage --branches=100 mocha --slow=1000 --timeout=20000 ./test/unit/*.js", + "test-unit": "nyc --reporter=lcov --reporter=text --check-coverage --branches=100 mocha --slow=1000 --timeout=30000 ./test/unit/*.js", "test-licensing": "license-checker --production --summary --onlyAllow=\"Apache-2.0;BSD;ISC;MIT\"", "test-leak": "./test/leak/leak.sh", "docs-build": "documentation lint lib && node docs/build && node docs/search-index/build",