jehoshua02 / react-app-starter

React application starter to keep up with my evolving preferences.
2 stars 0 forks source link

Eliminate Relative Paths in Tests #12

Closed jehoshua02 closed 9 years ago

jehoshua02 commented 9 years ago

Instead of require('../../../../path/to/module/ugh') in our tests we can simply do require('app/path/to/module/yay'). This makes organizing tests into subdirectories easier since module path is relative to project root.