beforeEach() inline has optional resolver