felixge / felixge/node-gently

Removing previous test expectations

Offen
#18 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
141
Forks
15
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.