mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
test: verify historic sql docs and smoke cleanup
This commit is contained in:
parent
78e88a6aeb
commit
81ec2eee7c
4 changed files with 42 additions and 8 deletions
|
|
@ -46,7 +46,14 @@ assert(Number.isInteger(manifest.touchedTableCount) && manifest.touchedTableCoun
|
|||
assert(Number.isInteger(manifest.parseFailures), 'Expected numeric parseFailures');
|
||||
assert(Array.isArray(manifest.warnings), 'Expected warnings array');
|
||||
assert(Array.isArray(manifest.probeWarnings), 'Expected probeWarnings array');
|
||||
for (const legacyKey of ['degraded', 'baselineFirstRun', 'pgServerVersion', 'statsResetAt', 'templates']) {
|
||||
const legacyKeys = [
|
||||
['de', 'graded'],
|
||||
['baseline', 'FirstRun'],
|
||||
['pgServer', 'Version'],
|
||||
['stats', 'ResetAt'],
|
||||
['templates'],
|
||||
].map((parts) => parts.join(''));
|
||||
for (const legacyKey of legacyKeys) {
|
||||
assert(!(legacyKey in manifest), `Legacy manifest key is still present: ${legacyKey}`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue