Jest がやっている require をフックして mock を差し込むスタイルのテストは proxyquire を使えば mocha でも普通にできる

t-wadat-wada のブックマーク 2015/04/21 16:17

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

GitHub - thlorenz/proxyquire: 🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Re...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう