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

https://github.com/verlok/renderimage

RenderImage source and test cases - tested with Jest
https://github.com/verlok/renderimage

Last synced: 7 months ago
JSON representation

RenderImage source and test cases - tested with Jest

Awesome Lists containing this project

README

          

# renderImage

RenderImage source and test cases - tested with Jest

## Files

* renderImage.js - code to render image tags
* renderImage.spec.js - the tests, 8 test cases to check the code

## How to test

Tests are run using [Jest](https://facebook.github.io/jest/).
Install the dependencies with `npm install`, then run the tests with:

```
npm test
```

Or, to keep watching code and run tests accordingly:

```
npm test -- --watch
```