// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`pipeline_operator.js 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 | printWidth =====================================input====================================== a |> b |> c; a |> (b |> c); (a |> b) || c; a |> (b || c); let result = "hello" |> doubleSay |> capitalize |> exclaim; let newScore = person.score |> double |> (_ => add(7, _)) |> (_ => subtract(2, _)) |> (_ => boundScore(0, 100, _)); function createPerson (attrs) { attrs |> bounded('age', 1, 100) |> format('name', /^[a-z]$/i) |> Person.insertIntoDatabase; } foo |> (bar ?? baz); (foo |> bar) ?? baz; =====================================output===================================== a |> b |> c; a |> (b |> c); (a |> b) || c; a |> b || c; let result = "hello" |> doubleSay |> capitalize |> exclaim; let newScore = person.score |> double |> (_ => add(7, _)) |> (_ => subtract(2, _)) |> (_ => boundScore(0, 100, _)); function createPerson(attrs) { attrs |> bounded("age", 1, 100) |> format("name", /^[a-z]$/i) |> Person.insertIntoDatabase; } foo |> bar ?? baz; (foo |> bar) ?? baz; ================================================================================ `;