Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lettertwo committed Sep 10, 2021
1 parent 3fdff6f commit 938e307
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/core/src/AdjacencyList.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@ export default class AdjacencyList<TEdgeType: number = 1> {
let {nodeCapacity = MIN_NODE_CAPACITY, edgeCapacity = MIN_EDGE_CAPACITY} =
opts ?? {};

assert(nodeCapacity >= MIN_NODE_CAPACITY, 'Node capacity is too small.');
assert(nodeCapacity <= MAX_NODE_CAPACITY, 'Node capacity is too large.');
assert(edgeCapacity >= MIN_EDGE_CAPACITY, 'Edge capacity is too small.');
assert(edgeCapacity <= MAX_EDGE_CAPACITY, 'Edge capacity is too large.');

// $FlowFixMe[incompatible-call]
Expand Down

0 comments on commit 938e307

Please sign in to comment.