globalizejs/globalize

Tests: Dependencies

Open

#372 opened on Dec 19, 2014

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (4,759 stars) (645 forks)batch import
help wanted

Description

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.

Contributor guide