Skip to content

Node.js based forum software built for the modern web

revert: a788bd1344825ad4759e39d6e98d8bf3695bd639

Julian Lamfecd84d1a01b
diff --git a/test/api.js b/test/api.js
index 53774304cf..cc13650770 100644
--- a/test/api.js
+++ b/test/api.js
@@ -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);