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; }');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    5
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i esprima-ast-equality

Weekly Downloads

5

Version

0.0.4

License

ISC

Last publish

Collaborators

  • stefanpenner