Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

WebReflection/tressa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tressa build status

A little test utility from Andrea Giammarchi and Claudio D'angelis born after this post and this tweet.

Compatible with NodeJS 0.8 and higher.

var test = require('tressa');

test.title('My Library');

// synchronous
test(condition, 'optional comment');

// asynchronous
test
  .async(done => {
    setTimeout(() => {
      test(condition, 'optional comment');
      done();
    });
  })
  .then(() => {
    console.log("That's it!");
  });

(C) 2017 MIT Style License

About

Little test utility

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published