| 60 | |
| 61 | if (dialect === 'postgres') { |
| 62 | const getConnectionUri = o => `${o.protocol}://${o.username}:${o.password}@${o.host}${o.port ? `:${o.port}` : ''}/${o.database}${o.options ? `?options=${o.options}` : ''}`; |
| 63 | it('should work with connection strings (postgres protocol)', () => { |
| 64 | const connectionUri = getConnectionUri({ ...config[dialect], protocol: 'postgres' }); |
| 65 | // postgres://... |