Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe('Check', function () {
- const g1 = check.wrap(null);
- const g2 = check.wrap('hi');
- it('g1', function () {
- assert.ok(g1.isNull());
- assert.ok(!g1.not.isNull());
- });
- it('g2', function () {
- assert.ok(!g2.isNull());
- assert.ok(g2.not.isNull());
- assert.ok(g2.hasWordsCount(1));
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement