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
This commit is contained in:
William Chargin 2018-07-05 21:30:49 -07:00 committed by GitHub
parent 47eecef7b2
commit 50792a7088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 32 deletions

View File

@ -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(