cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.06k stars 397 forks source link

Migrate to Jest #745

Open kof opened 5 years ago

kof commented 5 years ago

Todo

HenriBeck commented 5 years ago

The most significant difference is that jest doesn't use it and instead uses test which should be a simple search and replace for migrating most of the tests

TrySound commented 5 years ago

@HenriBeck Actually it has all describe, it, test.

HenriBeck commented 5 years ago

Oh, yeah it is an alias of test. Then it's even more simple 👍

TrySound commented 5 years ago

Rewire conversion is messy. I did it, but can't figure out how to run karma with babel7 for functional tests.

HenriBeck commented 5 years ago

We could remove rewire when we switch to jest's mocking functionality.

TrySound commented 5 years ago

I removed and switched. We just need to move out functional tests somewhere and I will push jest tests.