Skip to content

Commit

Permalink
refactor: updated test to exclude reentrantBatchGroupingEnabled case
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioJGMsoft committed Jan 7, 2025
1 parent 3e2484f commit 968a8b8
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,14 @@ describe("OpGroupingManager", () => {
const options: ConfigOption[] = [
{ enabled: false, expectedResult: false },
{ enabled: true, tooSmall: true, expectedResult: false },
{ enabled: true, reentrant: true, expectedResult: false },
{ enabled: true, reentrant: true, reentryEnabled: true, expectedResult: true },
{ enabled: true, reentrant: true, expectedResult: true },
{ enabled: true, expectedResult: true },
];

options.forEach((option) => {
it(`shouldGroup: groupedBatchingEnabled [${option.enabled}] tooSmall [${
option.tooSmall === true
}] reentrant [${option.reentrant === true}] reentryEnabled [${
option.reentryEnabled === true
}]`, () => {
}] reentrant [${option.reentrant === true}]`, () => {
assert.strictEqual(
new OpGroupingManager(
{
Expand Down

0 comments on commit 968a8b8

Please sign in to comment.