Skip to content

Commit

Permalink
Update packages/api/tests/rich-text-detection.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Bailey <[email protected]>
  • Loading branch information
bnewbold and estrattonbailey authored Oct 10, 2023
1 parent e36f089 commit df28e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/tests/rich-text-detection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ describe('detectFacets', () => {
const detectedTags: string[] = []
const detectedIndices: { byteStart: number; byteEnd: number }[] = []

for (const { facet, ..._rest } of rt.segments()) {
for (const { facet } of rt.segments()) {
if (!facet) continue
for (const feature of facet.features) {
if (isTag(feature)) {
Expand Down

0 comments on commit df28e3c

Please sign in to comment.