We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1141051 commit 294847dCopy full SHA for 294847d
frontend/src/ts/test/test-logic.ts
@@ -545,10 +545,13 @@ export async function addWord(): Promise<void> {
545
?.properties?.find((fp) => fp.startsWith("toPush:"));
546
const toPushCount = funboxToPush?.split(":")[1];
547
if (toPushCount !== undefined) bound = +toPushCount - 1;
548
- if (
549
- TestWords.words.length - TestInput.input.history.length > bound ||
550
- areAllTestWordsGenerated()
551
- ) {
+
+ if (TestWords.words.length - TestInput.input.history.length > bound) {
+ console.debug("Not adding word, enough words already");
+ return;
552
+ }
553
+ if (areAllTestWordsGenerated()) {
554
+ console.debug("Not adding word, all words generated");
555
return;
556
}
557
0 commit comments