Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Sep 27, 2023
1 parent ef6e901 commit d5034a4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions packages/pds/tests/create-post.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import AtpAgent, { AppBskyFeedPost, AtUri, RichText, AppBskyRichtextFacet } from '@atproto/api'
import AtpAgent, {
AppBskyFeedPost,
AtUri,
RichText,
AppBskyRichtextFacet,
} from '@atproto/api'
import { runTestServer, TestServerInfo } from './_util'
import { SeedClient } from './seeds/client'
import basicSeed from './seeds/basic'
Expand Down Expand Up @@ -64,8 +69,10 @@ describe('pds posts record creation', () => {
})

expect(record).toBeTruthy()
expect(record.facets?.every(f => {
return AppBskyRichtextFacet.isTag(f.features[0])
})).toBeTruthy()
expect(
record.facets?.every((f) => {
return AppBskyRichtextFacet.isTag(f.features[0])
}),
).toBeTruthy()
})
})

0 comments on commit d5034a4

Please sign in to comment.