Bug 1075475 - [CostControl] Fix unit tests with a newer mocha r=salva r=djf
Fixed review comments
Follow-up: set the result in an asynchronous way
Merge pull request #24608 from julienw/1075475-fix-costcontrol-tests

Bug 1075475 - [CostControl] Fix unit tests with a newer mocha r=salva r=salva