From 436ea0700b3b4ecaa6d8f4b3a6fa1c7f61f60a0b Mon Sep 17 00:00:00 2001 From: Howard Tyson Date: Mon, 30 Nov 2015 22:42:37 -0500 Subject: [PATCH] Updating README. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3baedea..b97f141 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # Multiple Callback Resolver +[![Build Status](https://travis-ci.org/tizzo/node-multiple-callback-spy.svg?branch=master)](https://travis-ci.org/tizzo/node-multiple-callback-spy) +[![Coverage Status](https://coveralls.io/repos/tizzo/node-multiple-callback-spy/badge.svg?branch=master&service=github)](https://coveralls.io/github/tizzo/node-multiple-callback-spy?branch=master) This project contains a simple class that allows you to instantiate callback functions and then execute a final callback when all of the generated callbacks complete. This is especially useful in testing that a set of events is emitted in a test case or in -fanning out a set of work and then +fanning out a set of work and running some code after all of a set of callbacks has +been invoked. Let's say you have a class called `Something` and it emits 3 events when when the `run()` method is processed.