Update jsonPointer.test.js

Add required parameter
This commit is contained in:
Luis Tejeda
2022-06-22 12:21:34 -05:00
parent 8c2af3648f
commit 1754339889

View File

@@ -21,7 +21,7 @@ describe('getKeyInComponents function', function () {
});
it('should return ["schemas", "_folder_pet.yaml"] when the filename _folder_pet.yaml', function () {
const result = getKeyInComponents(['path', 'schemas'], '_folder_pet.yaml');
const result = getKeyInComponents(['path', 'schemas'], '_folder_pet.yaml', '3.0', '');
expect(result).to.be.an('array').with.length(2);
expect(result[0]).to.equal('schemas');
expect(result[1]).to.equal('_folder_pet.yaml');