Socket
Socket
Sign inDemoInstall

browser-ava

Package Overview
Dependencies
9
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browser-ava

Run ava tests in the browser


Version published
Weekly downloads
875
increased by8.43%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

browser-ava

Run ava tests in the browser

What it does

If your code does not depend on any node api (process, fs, ...) then this runner allows to run your ava test inside the browser.

Running your tests

browser-ava --webkit --chromium --firefox tests/*.mjs

Scrrenshot

limitations

  • only supports ESM

API

Table of Contents

testModules

Holds all tests

test

Collect all tests into testModules

Parameters

  • body
  • args ...any

pluralize

Pluralize subjects

Parameters

  • word string subject to be pluralized
  • number number if > 1 pluralize otherwize keep subject alone

Returns string pluralized subject if number > 1

Keywords

FAQs

Last updated on 28 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc