Also, requirejs is an advantage for the unit test because it allows us to inject mock dependency to isolate the unit test to a target component.