(dir: string)
| 615 | // from the `backup` command's .tar.gz archives), while the install is |
| 616 | // already on latest (a no-op re-pull that must still succeed and stay up). |
| 617 | const preUpgrade = (dir: string) => |
| 618 | (fs.existsSync(dir) ? fs.readdirSync(dir) : []).filter((f) => /^db-pre-upgrade-.*\.sql\.gz$/.test(f)) |
| 619 | |
| 620 | it('a plain `update` writes a pre-upgrade backup, keeps the new image and stays healthy', async () => { |
| 621 | const backupsDir = path.join(installDir, 'backups') |
no test coverage detected