New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

o3-dom

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

o3-dom

## Testing Framework = Mocha Mocha was chosen because I (gsilk) have used it many times in the past and it just works. Specifically, I like that: * it doesn't couple the assertion library with the test runner (like Tape) * it doesn't try be parallel (like

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

o3js

Testing Framework = Mocha

Mocha was chosen because I (gsilk) have used it many times in the past and it just works. Specifically, I like that:

  • it doesn't couple the assertion library with the test runner (like Tape)
  • it doesn't try be parallel (like AVA), which IMHO would be premature optimization -- and besides we're never going to be IO-bound
  • it doesn't require a config file (like Karma)

Assertion Library = Chai

Chai was chosen over the NodeJS standard assertion library because:

  • it works when running tests in the browser
  • it displays the original exception (rather than burying it), which is good because:
    • it saves time when diagnosing failing tests and writing new ones
    • it puts the error messages in front of us more regularly, which keeps their quality higher

FAQs

Package last updated on 17 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc