Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cankode/test-event-bus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cankode/test-event-bus

test-utils

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@cankode/tester

wip

Write tests to be run via @cankode/test-runner-browser and/or @cankode/test-runner-node.

import { describe, assert } from '@cankode/tester';

describe('A', test => {
  test.describe('AA', test => {
    test.it('something is true', () => {
      assert(true === true);
    });
    test.it('something is false', () => {
      assert(true === false); // will fail
    });
  });
});

Note: built-in assert is dead-simple boolean asserter. Bring your own if you want something more powerfull.

FAQs

Package last updated on 19 Jun 2022

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