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

@marijn/testtool

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marijn/testtool

Helper package to run Mocha tests

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.7K
increased by13.83%
Maintainers
1
Weekly downloads
 
Created
Source

@marijn/testtool

Utility for running collections of Mocha test files that contain both Node-based and browser-based tests.

API

  • gatherTests(dirs: string[]) → {tests: string[], browserTests: string[]}
    Find test/test-*.js and test/webtest-*.js in the given directories.

  • runTests(input: {tests: string[], browserTests: string[], browsers: string[], grep?: string}) → Promise<void>
    Run the given set of tests, optionally filtering by name with grep, or configuring which browsers to run the web tests on.

Community

This is open source software released under an MIT license.

Development happens on GitHub. Use the bug tracker to report problems.

FAQs

Package last updated on 29 Aug 2024

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