various timeout changes

This commit is contained in:
John McLear 2021-01-27 21:59:06 +00:00
parent e8e90ac207
commit 05fe4904ed
3 changed files with 25 additions and 25 deletions

View file

@ -37,7 +37,7 @@ describe(__filename, function () {
describe('OpenAPI definition', function () {
it('generates valid openapi definition document', function (done) {
this.timeout(10000);
this.timeout(15000);
api
.get('/api/openapi.json')
.expect((res) => {

View file

@ -64,7 +64,7 @@ describe(__filename, function () {
describe('setHTML', function () {
it('Sets the HTML of a Pad attempting to weird utf8 encoded content', function (done) {
this.timeout(600);
this.timeout(1000);
fs.readFile('../tests/backend/specs/api/emojis.html', 'utf8', (err, html) => {
api.post(endPoint('setHTML'))
.send({