Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Add TDD style #5

Open
munierujp opened this issue Aug 31, 2018 · 0 comments
Open

Add TDD style #5

munierujp opened this issue Aug 31, 2018 · 0 comments

Comments

@munierujp
Copy link
Member

like this:

suite('Array', function() {
  setup(function() {
    // ...
  });

  suite('#indexOf()', function() {
    test('should return -1 when not present', function() {
      assert.equal(-1, [1,2,3].indexOf(4));
    });
  });
});
@munierujp munierujp mentioned this issue Aug 31, 2018
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant