Set path as null

set path as null instead of undefined
This commit is contained in:
Luis Tejeda
2022-04-26 11:22:36 -05:00
committed by Erik Mendoza
parent c455e60ac5
commit e040455f46
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ describe('getRelatedFiles function ', function () {
expect(missingRelatedFiles.length).to.equal(2);
expect(missingRelatedFiles[0].path).to.equal('/Pet.yaml');
expect(missingRelatedFiles[0].$ref).to.be.undefined;
expect(missingRelatedFiles[1].path).to.be.undefined;
expect(missingRelatedFiles[1].path).to.equal(null);
expect(missingRelatedFiles[1].$ref).to.equal('../../common/Error.yaml');
});