Skip to content

Commit

Permalink
fix: remove type ignores and update Prisma Client initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Sep 11, 2023
1 parent 730a03d commit d4e30ac
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export async function smokeTestClient(driverAdapter: DriverAdapter) {
describe(isUsingDriverAdapters ? `using Driver Adapters` : `using Rust drivers`, () => {
it('batch queries', async () => {
const prisma = new PrismaClient({
// @ts-ignore
jsConnector: adapter,
adapter,
log,
})

Expand Down Expand Up @@ -74,8 +73,7 @@ export async function smokeTestClient(driverAdapter: DriverAdapter) {

it('applies isolation level when using batch $transaction', async () => {
const prisma = new PrismaClient({
// @ts-ignore
jsConnector: adapter,
adapter,
log,
})

Expand Down

0 comments on commit d4e30ac

Please sign in to comment.