Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 24, 2022
1 parent 369ef61 commit b4b6763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('createResolver', function () {
it('returns a resolver that contains a `resolveConstant` method', function (done) {
var resolver = createResolver();

expect(resolver.resolveConstant).toBeA('function');
expect(typeof resolver.resolveConstant).toEqual('function');

done();
});
Expand Down Expand Up @@ -643,7 +643,7 @@ describe('resolver.resolveConstant', function () {

var validOpt = validResolver.resolveConstant('myOpt');

expect(validOpt).toEqual(null);
expect(validOpt).toEqual(undefined);

done();
});
Expand Down

0 comments on commit b4b6763

Please sign in to comment.