An open API service indexing awesome lists of open source software.

https://github.com/bfulop/chai-css-browser

Helpers to assert CSS values returned by a web browser
https://github.com/bfulop/chai-css-browser

chai testing

Last synced: 4 months ago
JSON representation

Helpers to assert CSS values returned by a web browser

Awesome Lists containing this project

README

          

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:

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