felixge / felixge/node-gently

Removing previous test expectations

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
141
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.