I think you can try to use some way like here, can't you?
https://github.com/bem/bem-components/blob/v2/common.blocks/input/input.spec.js#L42