Open msnider opened 5 years ago
I would write this function https://github.com/cssinjs/jss/blob/master/packages/jss/tests/utils.js#L59 and use setup the jss instance with it, so that test don't have generated ids, because in case they will change, tests will fail and we will have too many diffs in snapshots for no good reason.
Another point: I would use jest default settings and put integration tests into __tests__
and unit tests into {unit}.test.js
Otherwise looks good.
Added a few more tests, particularly around special cases. For Issue #16