Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

12

version

0.0.4

license

ISC

repository

githubgithub

last publish

collaborators

  • avatar