cssinjs/jss

Throw Error instead of warning when running tests

Open

#891 建立於 2018年10月14日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)JavaScript (434 fork)batch import
help wantedideaimportant

倉庫指標

Star
 (7,000 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I see in the logs many warnings, which I think shouldn't be there, which means we are ignoring problems without noticing in the CI.

I am wondering if we should replace the warning when running tests with a function that throws errors so that our tests can't ignore them.

As a bonus we won't ned to rewire in so many places, but instead use expect for catching.

貢獻者指南