Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Testy/testyts-assertion

Repository files navigation

This codebase has been integrated to the main Testy.Ts repo. This repository will no longer be maintained.

Build Status codecov

Testy.Ts Assertion

Assertion library for Testy.Ts.

Basic usage

Simply import expect, it contains all the assertion methods.

expect.toBeTrue(2 > 1);
expect.toBeEqual('a', 'a');
expect.not.toBeEqual('p', 'np');
expect.toThrow(() => someNastyMethod());
expect.toBeSorted.inAscendingOrder([0, 1, 1, 2, 3, 5, 8]);
// More!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

ISC

About

Assertion library for Testy.Ts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •