Skip to content

Commit 4a76264

Browse files
committed
Update x20schemapack.test.js
Move done to callback
1 parent 5957d54 commit 4a76264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/x20schemapack.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ describe('Convert method', function() {
5959
schemapack.convert((error, result) => {
6060
expect(error).to.be.null;
6161
expect(result.result).to.be.true;
62+
done();
6263
});
63-
done();
6464
});
6565

6666
it('Should convert an example file from: rangeMediaType.json', function(done) {
@@ -79,8 +79,8 @@ describe('Convert method', function() {
7979
expect(result.output[0].data.item[0].response[0].header.find((header) => {
8080
return header.key === 'Content-Type';
8181
}).value).to.equal('*/*');
82+
done();
8283
});
83-
done();
8484
});
8585
});
8686

0 commit comments

Comments
 (0)