We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475565a commit 232d895Copy full SHA for 232d895
src/__tests__/testHelpers.ts
@@ -80,14 +80,13 @@ export function getTestAssignments(
80
assignment: string | boolean | number | object;
81
}[] = [];
82
for (const subject of testCase.subjects) {
83
- const assignment =
84
- assignmentFn(
85
- testCase.flag,
86
- subject.subjectKey,
87
- subject.subjectAttributes,
88
- testCase.defaultValue,
89
- obfuscated
90
- ) || testCase.defaultValue; // Fallback to defaultValue if null
+ const assignment = assignmentFn(
+ testCase.flag,
+ subject.subjectKey,
+ subject.subjectAttributes,
+ testCase.defaultValue,
+ obfuscated
+ );
91
assignments.push({ subject: subject, assignment: assignment });
92
}
93
return assignments;
0 commit comments