Pebbling Club 🐧🪨
Welcome!
Signup
Login
Unit testing in node.js
caolanmcmahon.com
2012-03-16T19:43:07.000Z
node
nodeunit
testing
tdd
dev
nodejs
imported:pinboard
Notes
Lets walk through a basic node.js program using Test Driven Developement (TDD) and nodeunit. This program asks the user to enter a number, doubles it and returns the result.
Unfurl
{ "failed": true, "failedAt": 1728194911870, "failedError": "TimeoutError: Promise timed out after 10000 milliseconds" }
0 - 50 of 1 items
10
25
50
100
250
imported:pinboard (29360)
Unread (2255)
needs-tags (2187)
webdev (2006)
funny (1709)
gaming (1562)
ifttt (1352)
googlereader (1291)
politics (1214)
reddit (1090)
github (839)
ttrss (801)
twitter (736)
shared (726)
nifty (687)
scifi (573)
music (562)
imported:opml (535)
osx (526)
javascript (512)
hardware (479)
IFTTT (477)
metablogging (471)
odd (429)
programming (419)