var getForm = require('commonform-get-form')
var assert = require('assert')
getForm(
'commonform.org',
'kemitchell',
'test',
'1e',
function (error, form) {
assert.deepStrictEqual(
form,
{ content: ['This form is used for testing commonform.org.'] }
)
}
)
getForm(
'commonform.org',
'kemitchel',
'nonexistent',
'1e',
function (error, form) {
assert.equal(form, false)
}
)
-
Notifications
You must be signed in to change notification settings - Fork 0
License
commonform/commonform-get-form
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published