New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-tee

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-tee

Simply node test framework

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
6
200%
Maintainers
1
Weekly downloads
 
Created
Source

NodeTee

Simple test runner for Nodejs projects.

Instruction

Define test with Tee
const {Tee} = require('node-tee');

const myTee = Tee.new('Controller x');
myTee.case('Controller should pass', () => {
    assert(true, true);
});
module.exports = myTee;
Register Tee in Pot
const {Pot} = require('node-tee');
const myTee = require('./myTee.path.js');

const myPot = Pot.new('My App');
myPot.register([myTee]);
myPot.run();
expect

case method callback provide expect functionality

myTee('Controller', (expect) => {
    expect(true).toBe(true);
    expect(true).toBeTruthy();
    expect(false).toBeFalsy();
})

Keywords

node

FAQs

Package last updated on 28 Apr 2019

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