promise mocks as dependency, version trimming