Socket
Book a DemoInstallSign in
Socket

liltest

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

liltest

A very very simple test runner for JavaScript and TypeScript that supports running in browser and in Node.

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

liltest

A very very simple test runner for JavaScript and TypeScript that supports running in browser and in Node.

https://github.com/propelml/liltest

TypeScript Example

Create a file called mytest.ts

import { assert, assertEqual, test } from "liltest";

test(async function failingTest() {
  assertEqual([0, 1, 100], [0, 1, 2]);
});

test(async function workingTest() {
  assertEqual([0, 1, 2], [0, 1, 2]);
});

Run the test from Node by doing ts-node mytest.ts

FAQs

Package last updated on 01 May 2018

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