Skip to content

PCOffline/testing-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Type-Level Testing Library

This project is NOT production ready and is for learning purposes only

Test and assert your types

expect("abc").to.BeString()
// @ts-expect-error
expect("abc").to.BeNumber()

expect({ field: "abc" }).to.beObject()
expect({ field: "abc" }).to.be<{ field: string }>()
expect({ field: "abc" }).to.equal({ field: "abc" })
expect({ field: "abc" }).to.not.beArray()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published