chore(deps): update dependency @types/node to v22 #369
Annotations
2 errors and 1 warning
tests/api/tidb/select.spec.ts > TiDB API > SELECT with MySQL function > SELECT name, birth, CURDATE(), TIMESTAMPDIFF(YEAR,birth,CURDATE()) AS age FROM pet;:
tests/api/tidb/select.spec.ts#L185
AssertionError: expected [ { name: 'Fluffy', …(3) }, …(8) ] to deeply equal [ { name: 'Fluffy', …(3) }, …(8) ]
- Expected
+ Received
Array [
Object {
"CURDATE()": Any<String>,
"age": "31",
"birth": "1993-02-04",
"name": "Fluffy",
},
Object {
"CURDATE()": Any<String>,
"age": "30",
"birth": "1994-03-17",
"name": "Claws",
},
Object {
"CURDATE()": Any<String>,
"age": "35",
"birth": "1989-05-13",
"name": "Buffy",
},
Object {
"CURDATE()": Any<String>,
- "age": "33",
+ "age": "34",
"birth": "1990-08-27",
"name": "Fang",
},
Object {
"CURDATE()": Any<String>,
- "age": "44",
+ "age": "45",
"birth": "1979-08-31",
"name": "Bowser",
},
Object {
"CURDATE()": Any<String>,
- "age": "25",
+ "age": "26",
"birth": "1998-09-11",
"name": "Chirpy",
},
Object {
"CURDATE()": Any<String>,
- "age": "26",
+ "age": "27",
"birth": "1997-12-09",
"name": "Whistler",
},
Object {
"CURDATE()": Any<String>,
"age": "28",
"birth": "1996-04-29",
"name": "Slim",
},
Object {
"CURDATE()": Any<String>,
"age": "25",
"birth": "1999-03-30",
"name": "Puffball",
},
]
❯ tests/api/tidb/select.spec.ts:185:25
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|