mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
revert: a788bd1344
This commit is contained in:
@@ -228,15 +228,14 @@ describe('API', async () => {
|
||||
setup = true;
|
||||
}
|
||||
|
||||
// Test failing due to https://github.com/APIDevTools/json-schema-ref-parser/issues/298
|
||||
/* it('should pass OpenAPI v3 validation', async () => {
|
||||
it('should pass OpenAPI v3 validation', async () => {
|
||||
try {
|
||||
await SwaggerParser.validate(readApiPath);
|
||||
await SwaggerParser.validate(writeApiPath);
|
||||
} catch (e) {
|
||||
assert.ifError(e);
|
||||
}
|
||||
}); */
|
||||
});
|
||||
|
||||
readApi = await SwaggerParser.dereference(readApiPath);
|
||||
writeApi = await SwaggerParser.dereference(writeApiPath);
|
||||
|
||||
Reference in New Issue
Block a user