Skip to content

Commit

Permalink
chore: remove unnecessary ts-ignores (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn authored Nov 26, 2024
1 parent d6ab531 commit ae9962b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/observations-endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,13 @@ test('returning observations with fetchable attachments', async (t) => {
const observations = await Promise.all([
(() => {
/** @type {ObservationValue} */
// @ts-ignore
const noAttachments = {
...generateObservation(),
attachments: [],
}
return project.observation.create(noAttachments)
})(),
(async () => {
// @ts-ignore
const { docId } = await project.observation.create(generateObservation())
return project.observation.delete(docId)
})(),
Expand All @@ -120,7 +118,6 @@ test('returning observations with fetchable attachments', async (t) => {
),
])
/** @type {ObservationValue} */
// @ts-ignore
const withAttachment = {
...generateObservation(),
attachments: [blobToAttachment(imageBlob), blobToAttachment(audioBlob)],
Expand Down

0 comments on commit ae9962b

Please sign in to comment.