Neutral Political Machine

    esprima-ast-equality

    0.0.4 • Public • Published

    esprima-ast-equality

    test helper for asserting ast equality.

    Errors thrown include correct details so that Mocha and friends to display nice diffs.

    Usage

    var astEqual = require('esprima-ast-equality');
    astEqual('function(){ 1 + 2; }', 'function() { 1 + 3; }');

    Install

    npm i esprima-ast-equality

    DownloadsWeekly Downloads

    8

    Version

    0.0.4

    License

    ISC

    Last publish

    Collaborators

    • stefanpenner