Yeah, I'd say just move this into test if possible. We have a mock_view inside of support/mock_view.js. Maybe move this into support/mock_provider.js?