Skip to content

than-dev/estj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

52 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation



EstJ



๐Ÿช Description

It's a simple javascript test lib, with purpose be able people execute tests simply and fast!


๐ŸŒ‰ Usage

It will find all files like it: *.test.js, just run:

estj

  • To validate the tests it uses the nodejs assert, but its globally, you do not need to require it;
  • To create a test use the function it();
  • You can use beforeEach, it will execute before all tests;

Example:
beforeEach(() => {
    console.log('I am executing before a test')
})

it('should assert if 1 === 1', () => {
    assert.equal(1, 1)
})

๐ŸŽ—๏ธ See It

1632971516055.mp4

๐ŸŽ  Author

Nathan Cotrim - MIT

Releases

No releases published

Packages

No packages published