chore(lint): keep the fixes within the lint ratchets

No promise in a condition, sequential awaits through a reduce instead of a loop, no non-null assertions or any in the new tests, an awaited act, one options object for a stop edit and a handled rejection for the offline copy.
This commit is contained in:
Maurice
2026-11-23 16:09:34 +01:00
parent f6d52727f7
commit 8a9f5367b1
15 changed files with 65 additions and 31 deletions
@@ -82,10 +82,7 @@ afterAll(async () => {
describe('Postgres backup round trip', () => {
it('PGRT-001: a dump restores over a changed schema, dropping what came later, views and functions included', async (ctx) => {
if (unfit) {
console.log(`PGRT-001 skipped: ${unfit}`);
ctx.skip();
}
if (unfit) ctx.skip(`PGRT-001 skipped: ${unfit}`);
await asOwner((run) =>
oneByOne(
[