diff --git a/packages/xpath/test/xforms/randomize.test.ts b/packages/xpath/test/xforms/randomize.test.ts index 47c21b886..c43ea30bf 100644 --- a/packages/xpath/test/xforms/randomize.test.ts +++ b/packages/xpath/test/xforms/randomize.test.ts @@ -93,14 +93,13 @@ describe('randomize()', () => { }); }); - [ - { expression: 'randomize()' }, - { expression: `randomize(${SELECTOR}, 1, 2)` }, - ].forEach(({ expression }) => { - it.fails(`${expression} with invalid argument count, throws an error`, () => { - testContext.evaluate(expression); - }); - }); + [{ expression: 'randomize()' }, { expression: `randomize(${SELECTOR}, 1, 2)` }].forEach( + ({ expression }) => { + it.fails(`${expression} with invalid argument count, throws an error`, () => { + testContext.evaluate(expression); + }); + } + ); it('randomizes nodes', () => { testContext = createXFormsTestContext(`