Skip to content

bfulop/chai-css-browser

Repository files navigation

Browser utils for Chai

A collection of helpers to simplify writing assertions for browser testing with Mocha and Chai.

.color('#ffeebb')

So far the only method is to convert between hex, rgb and rgba definitions:

expect('#BBCCDD').to.be.color('rgb(187, 204, 221)')

About

Helpers to assert CSS values returned by a web browser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published