Update tests/backend/specs/api/api.js

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
mochawesome
John McLear 2021-01-30 07:36:34 +00:00 committed by GitHub
parent 6eb76a051d
commit 4ec538fc3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ const supertest = require(`${__dirname}/../../../../src/node_modules/supertest`)
const settings = require(`${__dirname}/../../../../src/node/utils/Settings`); const settings = require(`${__dirname}/../../../../src/node/utils/Settings`);
const api = supertest(`http://${settings.ip}:${settings.port}`); const api = supertest(`http://${settings.ip}:${settings.port}`);
const validateOpenAPI = const validateOpenAPI = require('ep_etherpad-lite/node_modules/openapi-schema-validation').validate;
require(`${__dirname}/../../../../src/node_modules/openapi-schema-validation`).validate;
const apiKey = common.apiKey; const apiKey = common.apiKey;
let apiVersion = 1; let apiVersion = 1;