Skip to content

Commit a2fef3a

Browse files
committed
chore: format
1 parent bfd7252 commit a2fef3a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tests/templates.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ describe("Template paths", () => {
3232
});
3333

3434
it("path.each().to(p => p.x) produces same path string as path.each(p => p.x)", () => {
35-
const viaTo = path((p: User) => p.items).each().to((i) => i.name);
35+
const viaTo = path((p: User) => p.items)
36+
.each()
37+
.to((i) => i.name);
3638
const viaEach = path((p: User) => p.items).each((i) => i.name);
3739
expect(viaTo.$).toBe("items.*.name");
3840
expect(viaTo.segments).toEqual(["items", "*", "name"]);

0 commit comments

Comments
 (0)