Skip to content

Commit d2ea447

Browse files
chore: prettier-normalize repeat test arrow params
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e141b64 commit d2ea447

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/solid-signals/tests/repeat.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,16 @@ it("recovers when count goes to 0, from changes, and count comes back nonzero (#
289289
const [count, setCount] = createSignal(2);
290290
const [from, setFrom] = createSignal(2);
291291

292-
const map = repeat(count, (index) => ({ index }), { from });
292+
const map = repeat(count, index => ({ index }), { from });
293293

294294
let snapshot: any[] = [];
295295
createRoot(() => {
296-
createEffect(map, (rows) => {
296+
createEffect(map, rows => {
297297
snapshot = rows;
298298
});
299299
});
300300
flush();
301-
expect(snapshot.map((r) => r.index)).toEqual([2, 3]);
301+
expect(snapshot.map(r => r.index)).toEqual([2, 3]);
302302

303303
// 1. clear rows
304304
setCount(0);

0 commit comments

Comments
 (0)