()
| 14 | } |
| 15 | |
| 16 | export function getConfig() { |
| 17 | const { user, port } = getArgs(); |
| 18 | return { |
| 19 | host: "localhost", |
| 20 | port: port, |
| 21 | database: dbName, |
| 22 | user: user, |
| 23 | password: "password", |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | export function assertEqualRows(test, data) { |
| 28 | const expected = test.res; |