Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. describe('Check', function () {
  2. const g1 = check.wrap(null);
  3. const g2 = check.wrap('hi');
  4. it('g1', function () {
  5. assert.ok(g1.isNull());
  6. assert.ok(!g1.not.isNull());
  7. });
  8. it('g2', function () {
  9. assert.ok(!g2.isNull());
  10. assert.ok(g2.not.isNull());
  11. assert.ok(g2.hasWordsCount(1));
  12. });
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement