chore(deps): update dependency @types/express to v5 #278
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",
"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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|