Ninjas Practicing Multidimensionality

    assert-async

    1.0.0 • Public • Published

    assert-async

    Build Status Coverage Status

    Throws an exception if your callback is called synchronusly by a function. The intention is to catch coding errors during development and testing, helping you avoid starving the event queue.

    Usage

    'use strict';
     
    var assertAsync = require('assert-async');
     
    var internalAsyncLibrary = require('./lib/foo');
     
    assertAsync(internalAsyncLibrary, function (err, res) {
        // ...
    });

    Installation

    npm install assert-async --save

    License

    MIT

    Keywords

    Install

    npm i assert-async

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • omsmith