Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Running tests

Thibault Maekelbergh edited this page Mar 25, 2019 · 2 revisions

This project uses jest to run tests. You can trigger the tests with npm test.

Mocks & sample output

All tests will be validated against the sample output in __mocks__. You can regenerate these using npm run generate:mocks which will consume __mocks__/sample_sketchfile.sketch and output a new config & sketch2json dump.

An output using Document Colors, Gradients will be generated, as well as output using artboards formatting only.