Skip to content

Commit

Permalink
Use const instead of let in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Mario564 committed Oct 22, 2024
1 parent 6eae3b3 commit 91970e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions integration-tests/tests/mysql/mysql-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
min,
Name,
notInArray,
placeholder,
sql,
sum,
sumDistinct,
Expand Down Expand Up @@ -1273,7 +1272,7 @@ export function tests(driver?: string) {
}

await db.insert(usersTable).values([{ name: 'John' }, { name: 'John1' }]);
let stmt = db
const stmt = db
.select({
id: usersTable.id,
name: usersTable.name,
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/pg/pg-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ export function tests() {
}

await db.insert(usersTable).values([{ name: 'John' }, { name: 'John1' }]);
let stmt = db
const stmt = db
.select({
id: usersTable.id,
name: usersTable.name,
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/sqlite/sqlite-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ export function tests() {
}

await db.insert(usersTable).values([{ name: 'John' }, { name: 'John1' }]).run();
let stmt = db
const stmt = db
.select({
id: usersTable.id,
name: usersTable.name,
Expand Down

0 comments on commit 91970e7

Please sign in to comment.