Skip to content

Commit

Permalink
test: add tests for @Aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed May 20, 2017
1 parent 10d3780 commit 303f06d
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 1 deletion.
6 changes: 6 additions & 0 deletions test/isNotObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ describe('isNotObj', function() {
eq(RA.isNotObj(undefined), true);
});
});

describe('isNotObject', function() {
it('tests an alias', function() {
eq(RA.isNotObj === RA.isNotObject, true);
});
});
6 changes: 6 additions & 0 deletions test/isNotObjLike.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ describe('isNotObjLike', function() {
eq(RA.isNotObjLike(undefined), true);
});
});

describe('isNotObjectLike', function() {
it('tests an alias', function() {
eq(RA.isNotObjLike === RA.isNotObjectLike, true);
});
});
6 changes: 6 additions & 0 deletions test/isNotPlainObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ describe('isNotPlainObj', function() {
}
});
});

describe('isNotPlainObject', function() {
it('tests an alias', function() {
eq(RA.isNotPlainObj === RA.isNotPlainObject, true);
});
});
2 changes: 1 addition & 1 deletion test/isNotValidDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('isNotValidDate', function() {
});

describe('isInvalidDate', function() {
it('tests a value for complement of valid `Date`', function() {
it('tests an alias', function() {
eq(RA.isNotValidDate === RA.isInvalidDate, true);
});
});
6 changes: 6 additions & 0 deletions test/isObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ describe('isObj', function() {
eq(RA.isObj(undefined), false);
});
});

describe('isObject', function() {
it('tests an alias', function() {
eq(RA.isObj === RA.isObject, true);
});
});
7 changes: 7 additions & 0 deletions test/isObjLike.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ describe('isObjLike', function() {
eq(RA.isObjLike(undefined), false);
});
});

describe('isObjectLike', function() {
it('tests an alias', function() {
eq(RA.isObjLike === RA.isObjectLike, true);
});
});

7 changes: 7 additions & 0 deletions test/isPlainObj.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ describe('isPlainObj', function() {
}
});
});

describe('isPlainObject', function() {
it('tests an alias', function() {
eq(RA.isPlainObj === RA.isPlainObject, true);
});
});

7 changes: 7 additions & 0 deletions test/mergeRight.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ describe('mergeRight', function() {
eq(curried({ x: 3, y: 4 }), { w: 1, x: 2, y: 4 });
});
});

describe('resetToDefault', function() {
it('tests an alias', function() {
eq(RA.mergeRight === RA.resetToDefault, true);
});
});

0 comments on commit 303f06d

Please sign in to comment.