Skip to content

jakehamilton/littletest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LittleTest

A little testing library.

Installation

npm install --save-dev littletest

# or via yarn
yarn add --dev littletest

Usage

import { describe } from 'littletest';

describe('My Test Suite', it => {
    it('Should run some tests.', expect => {
        expect(true).to.equal(true);
        expect(false).not.to.equal(true);

        expect({ x: [4] }).to.deep.equal({ x: [4] });
        expect(null).to.weak.equal(undefined)
    });
});
# Glob your test files to run.
npx @littlethings/test ./src/**/*.test.js

About

A little testing library.

Resources

Stars

Watchers

Forks

Packages

No packages published