globalizejs/globalize

Tests: Dependencies

Open

#372 aperta il 19 dic 2014

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (645 fork)batch import
help wanted

Metriche repository

Star
 (4759 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor