svg-sprite / svg-sprite

SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make each test case individually testable

ert78gb opened this issue · comments

Yesterday I tried to investigate the #421 , but very hard to debug the tests because the it.only not working. I have to find wich describe section contains the prerequisites. I think in long term worth refactoring the test to use beforeEach to setup the test. It will increase the running time, but it will allow running parallel so overall we can decrease the test time.

IMHO I think worth splitting the test into multiple files. Maybe the good separation is the mode but currently I don't have enough code knowledge to identify it.

This will be available after #572 is landed