Update tests/backend/specs/api/api.js
Co-authored-by: Richard Hansen <rhansen@rhansen.org>mochawesome
parent
6eb76a051d
commit
4ec538fc3c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue