source: node_modules/traverse/test/obj.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 222 bytes
Line 
1'use strict';
2
3var test = require('tape');
4var traverse = require('../');
5
6test('traverse an object with nested functions', function (t) {
7 t.plan(1);
8
9 function Cons(x) {
10 t.equal(x, 10);
11 }
12 traverse(new Cons(10));
13});
Note: See TracBrowser for help on using the repository browser.