Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adamilardi
on July 8, 2010
|
parent
|
context
|
favorite
| on:
Writing Testable JavaScript
Singletons could be reset using a beforeclass(Reset data before a test suite is ran) or beforetest(Reset data before a test is run) type method. This is built into test frameworks for java, python and others.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: