From bd7c87c06c214ad7f1bdbd26764c413781cd87cc Mon Sep 17 00:00:00 2001 From: Curran Kelleher Date: Sat, 2 Jan 2021 12:22:35 -0500 Subject: [PATCH] Manual cleanup of graph-test.js --- test/graph-test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/graph-test.js b/test/graph-test.js index a6c42ea..30e1dad 100644 --- a/test/graph-test.js +++ b/test/graph-test.js @@ -1,18 +1,18 @@ const reorder = require('../dist/reorder.cjs'); -const vows = require('vows'), - assert = require('assert'); +const vows = require('vows'); +const assert = require('assert'); const suite = vows.describe('reorder.graph'); suite.addBatch({ graph: { simple() { - const nodes = [{ id: 0 }, { id: 1 }, { id: 2 }], - links = [ - { source: 0, target: 1 }, - { source: 1, target: 2 }, - ]; + const nodes = [{ id: 0 }, { id: 1 }, { id: 2 }]; + const links = [ + { source: 0, target: 1 }, + { source: 1, target: 2 }, + ]; const graph = reorder.graph(nodes, links).init(); assert.equal(graph.nodes().length, 3); assert.equal(graph.links().length, 2);