Android CI / RC / Android · lint, tests, debug APK, release compile (push) Successful in 3m24s
DH V2 CI / API · typecheck, tests, build (push) Successful in 40s
DH V2 CI / WEB · typecheck, build (push) Successful in 18s
Production dependency audit / API · production dependencies (push) Successful in 8s
Production dependency audit / WEB · production dependencies (push) Successful in 9s
DH V2 CI / Docker / scripts contract (push) Successful in 1m22s
12 lines
506 B
TypeScript
12 lines
506 B
TypeScript
import assert from 'node:assert/strict';
|
|
import test from 'node:test';
|
|
import { readFileSync } from 'node:fs';
|
|
import { resolve } from 'node:path';
|
|
import { API_PHASE, API_VERSION } from '../../src/version';
|
|
|
|
test('health metadata reports the current F6.9 release', () => {
|
|
assert.equal(API_PHASE, 'F6.9');
|
|
const pkg = JSON.parse(readFileSync(resolve(process.cwd(), 'package.json'), 'utf8')) as { version: string };
|
|
assert.equal(API_VERSION, pkg.version);
|
|
assert.equal(API_VERSION, '0.29.0-9');
|
|
}); |