赛普拉斯和摩卡魅力2记者在测试之前抛出错误

时间:2020-02-06 19:33:05

标签: typescript automated-tests mocha cypress allure

我想在我的柏树测试中使用摩卡allure2记者。我今天安装了它,并且在终端中使用命令./node_modules/.bin/cypress run --reporter mocha-allure-reporter运行它时出现错误。

TypeError: hook.error is not a function allure

当我从测试中删除beforeEach()时,不会发生错误。有想法吗?

0 个答案:

没有答案