globalizejs/globalize

Tests: Dependencies

Open

#372 建立於 2014年12月19日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (645 fork)batch import
help wanted

倉庫指標

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

描述

On https://github.com/jquery/globalize/pull/370, we had missing dependencies. But, we were unable to figure that out by our current unit tests. They are indirect dependencies (i.e., "plugin dependencies") and another parallel unit test was loading them before they were being used. Therefore, no problem occurred until we started to test them on high latency envs like via browserstack-runner.

Ideally, each unit test should be executed using the dependencies it's explicitly requiring with no interference.

貢獻者指南