Skip to content

Commit b796539

Browse files
committed
Updates
1 parent e68477c commit b796539

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/deref.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ describe('DEREF FUNCTION TESTS ', function() {
313313
expect(output.required).to.not.include('tag');
314314
done();
315315
});
316-
316+
317317
it('should handle schema with enum having no type defined for resolveTo set as schema', function(done) {
318318
var schema = {
319319
'enum': [
@@ -335,6 +335,8 @@ describe('DEREF FUNCTION TESTS ', function() {
335335
});
336336
expect(output.type).to.equal('string');
337337
expect(output.default).to.equal('<string>');
338+
done();
339+
});
338340

339341
it('should return schema with example parameter(if given) for $ref just like inline schema', function(done) {
340342
var schema = {

0 commit comments

Comments
 (0)