Skip to content

Commit

Permalink
react-hooks: format.
Browse files Browse the repository at this point in the history
  • Loading branch information
thruflo committed Nov 20, 2024
1 parent ba775fa commit 15d9c0c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/react-hooks/test/support/test-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ export type UpdateIssueFn = (row: IssueRow) => Promise<QueryResult<IssueRow>>
export type DeleteIssueFn = (row: IssueRow) => Promise<QueryResult<IssueRow>>
export type InsertIssuesFn = (...rows: GeneratedIssueRow[]) => Promise<string[]>
export type ClearIssuesShapeFn = (handle?: string) => Promise<void>
export type ClearShapeFn = (
table: string,
handle?: string
) => Promise<void>
export type ClearShapeFn = (table: string, handle?: string) => Promise<void>

export const testWithDbClient = test.extend<{
dbClient: Client
Expand Down Expand Up @@ -53,9 +50,7 @@ export const testWithDbClient = test.extend<{
`DELETE ${baseUrl}/v1/shape?table=${table}`
)
)
throw new Error(
`Could not delete shape ${table} with handle ${handle}`
)
throw new Error(`Could not delete shape ${table} with handle ${handle}`)
}
})
},
Expand Down

0 comments on commit 15d9c0c

Please sign in to comment.