From 50792a7088ec1c39cc3770bbefaa1654ac680c4e Mon Sep 17 00:00:00 2001 From: William Chargin Date: Thu, 5 Jul 2018 21:30:49 -0700 Subject: [PATCH] Remove some annoying line breaks (#492) Summary: Prettier inserted these in a previous version of the code, but the lines got shorter and so Prettier no longer minds if we remove the breaks. Test Plan: shipitquick wchargin-branch: remove-line-breaks --- .../attribution/graphToMarkovChain.test.js | 40 ++++--------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/src/core/attribution/graphToMarkovChain.test.js b/src/core/attribution/graphToMarkovChain.test.js index a8c6f0f..25eaebd 100644 --- a/src/core/attribution/graphToMarkovChain.test.js +++ b/src/core/attribution/graphToMarkovChain.test.js @@ -108,44 +108,20 @@ describe("core/attribution/graphToMarkovChain", () => { const expected = new Map() .set(n1, [ {contributor: {type: "SYNTHETIC_LOOP"}, weight: 1 / 13}, - { - contributor: {type: "OUT_EDGE", edge: e1}, - weight: 3 / 10, - }, - { - contributor: {type: "OUT_EDGE", edge: e3}, - weight: 3 / 16, - }, + {contributor: {type: "OUT_EDGE", edge: e1}, weight: 3 / 10}, + {contributor: {type: "OUT_EDGE", edge: e3}, weight: 3 / 16}, ]) .set(n2, [ {contributor: {type: "SYNTHETIC_LOOP"}, weight: 1 / 10}, - { - contributor: {type: "IN_EDGE", edge: e1}, - weight: 6 / 13, - }, - { - contributor: {type: "OUT_EDGE", edge: e2}, - weight: 3 / 16, - }, + {contributor: {type: "IN_EDGE", edge: e1}, weight: 6 / 13}, + {contributor: {type: "OUT_EDGE", edge: e2}, weight: 3 / 16}, ]) .set(n3, [ {contributor: {type: "SYNTHETIC_LOOP"}, weight: 1 / 16}, - { - contributor: {type: "IN_EDGE", edge: e2}, - weight: 6 / 10, - }, - { - contributor: {type: "IN_EDGE", edge: e3}, - weight: 6 / 13, - }, - { - contributor: {type: "IN_EDGE", edge: e4}, - weight: 6 / 16, - }, - { - contributor: {type: "OUT_EDGE", edge: e4}, - weight: 3 / 16, - }, + {contributor: {type: "IN_EDGE", edge: e2}, weight: 6 / 10}, + {contributor: {type: "IN_EDGE", edge: e3}, weight: 6 / 13}, + {contributor: {type: "IN_EDGE", edge: e4}, weight: 6 / 16}, + {contributor: {type: "OUT_EDGE", edge: e4}, weight: 3 / 16}, ]); const canonicalize = (map) => new Map(