formdefutils
Advanced tools
Comparing version 0.0.0 to 0.0.1
var _ = require('lodash'); | ||
var assert = require('chai').assert; | ||
@@ -4,0 +3,0 @@ function fields(tree){ |
{ | ||
"name": "formdefutils", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "ActionTag form definition utility functions", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -10,3 +10,3 @@ var fdu = require("../main"); | ||
describe('find()', function () { | ||
it('extracts right number of fields', function () { | ||
it('finds field by name', function () { | ||
var fnfield = fdu.find_field(petition.form_elements, 'FirstName'); | ||
@@ -13,0 +13,0 @@ fnfield.title.should.equal('First Name'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8945
269