Skip to content

Commit

Permalink
make lint (bluesky-social#1703)
Browse files Browse the repository at this point in the history
* make lint

* Update packages/api/tests/rich-text-detection.test.ts

Co-authored-by: Eric Bailey <[email protected]>

---------

Co-authored-by: Eric Bailey <[email protected]>
  • Loading branch information
bnewbold and estrattonbailey authored Oct 10, 2023
1 parent 8fd70c7 commit edf7356
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api/tests/rich-text-detection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ describe('detectFacets', () => {
const rt = new RichText({ text: input })
await rt.detectFacets(agent)

let detectedTags: string[] = []
let detectedIndices: { byteStart: number; byteEnd: number }[] = []
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 edf7356

Please sign in to comment.