Skip to content

ruairidhwm/quip

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Quip

A small version of Jest

Read the blog here.

Methods

Expect

.toBe()

.toThrow()

.toBeTruthy()

.toBeFalsy()

.toBeNull()

Mocking

const random = fn((p1: string, p2: string) => p1);

const winner = random('Winner', 'Loser');

expect(winner).toBe('Winner');

Spies

.spyOn()

Releases

No releases published

Packages

No packages published