Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 8f41b0f

Browse files
committed
fix typo
1 parent 36509b9 commit 8f41b0f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/devtools-reps/src/object-inspector/tests/utils/make-node-for-numerical-properties.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ describe("makeNodesForProperties", () => {
130130
"[900…999]",
131131
]);
132132
expect(firstBucketPaths[0]).toEqual(
133-
`root/${SAFE_PATH_PREFIX}bucket_0-999/${SAFE_PATH_PREFIX}bucket_0-99`,
133+
`root/${SAFE_PATH_PREFIX}bucket_0-999/${SAFE_PATH_PREFIX}bucket_0-99`
134134
);
135135
expect(firstBucketPaths[firstBucketPaths.length - 1]).toEqual(
136-
`root/${SAFE_PATH_PREFIX}bucket_0-999/${SAFE_PATH_PREFIX}bucket_900-999`,
136+
`root/${SAFE_PATH_PREFIX}bucket_0-999/${SAFE_PATH_PREFIX}bucket_900-999`
137137
);
138138

139139
const lastBucketNodes = nodes[nodes.length - 2].contents;
@@ -145,10 +145,10 @@ describe("makeNodesForProperties", () => {
145145
"10200",
146146
]);
147147
expect(lastBucketPaths[0]).toEqual(
148-
`root/${SAFE_PATH_PREFIX}bucket_10000-10200/${SAFE_PATH_PREFIX}bucket_10000-10099`,
148+
`root/${SAFE_PATH_PREFIX}bucket_10000-10200/${SAFE_PATH_PREFIX}bucket_10000-10099`
149149
);
150150
expect(lastBucketPaths[lastBucketPaths.length - 1]).toEqual(
151-
`root/${SAFE_PATH_PREFIX}bucket_10000-10200/10200`,
151+
`root/${SAFE_PATH_PREFIX}bucket_10000-10200/10200`
152152
);
153153
});
154154
});

packages/devtools-reps/src/object-inspector/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function makeNumericalBuckets(
402402
bucketProperties,
403403
bucketRoot,
404404
ownProperties,
405-
minIndex,
405+
minIndex
406406
);
407407
}
408408
setNodeChildren(bucketRoot, bucketNodes);

0 commit comments

Comments
 (0)