Skip to content

Commit

Permalink
chore: Update query-engine/driver-adapters/js/smoke-test-js/src/clien…
Browse files Browse the repository at this point in the history
…t/client.ts

Co-authored-by: Alexey Orlenko <[email protected]>
  • Loading branch information
jkomyno and aqrln authored Sep 11, 2023
1 parent 9a9e7a7 commit d56959e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export async function smokeTestClient(driverAdapter: DriverAdapter) {
} else if (['postgres'].includes(provider)) {
// Note: the "DEALLOCATE ALL" query is only present after "BEGIN" when using Rust Postgres with pgbouncer.
assert.deepEqual(queries.at(0), defaultExpectedQueries.at(0))
assert.deepEqual(queries.slice(-4), defaultExpectedQueries.slice(-4))
assert.deepEqual(
queries.filter((q) => q !== 'DEALLOCATE ALL'),
defaultExpectedQueries
)
}
})

Expand Down

0 comments on commit d56959e

Please sign in to comment.