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
- Host: GitHub
- URL: https://github.com/bfulop/chai-css-browser
- Owner: bfulop
- Created: 2017-03-06T10:39:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:16:14.000Z (over 3 years ago)
- Last Synced: 2025-10-19T13:05:24.896Z (9 months ago)
- Topics: chai, testing
- Language: JavaScript
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
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)')
```