felixge / felixge/node-gently

Removing previous test expectations

未关闭
#18 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
141
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

I'm using one gently instance per .js test file. The test file has multiple tests each setting expectations. However, if say the 3rd test out of 10 fails, and that test had few unmet expectations, these expectations fail the remaining tests (from 4th to 10th) because all of them are having the expectations from the failed 3rd. Is there any way to reset the expectations before each test run?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。