astra/am3352-sbc
A 4-layer AM3352 single-board computer with 128‑MiB DDR3, PMIC power regulation, USB‑C 5‑V PD input, dual USB host ports, HDMI output with ESD protection, microSD/UART/JTAG interfaces, addressable RGB indicators, and a PWM-driven buzzer.
- Version
- 0.1.19
- License
- unset
- Stars
- 0
tests/solver-release.test.ts
import { expect, test } from "bun:test";
import { resolveCoreVersion } from "../scripts/check-solver-release";
test("release gate respects the actual 0.0.x caret dependency, not latest core", () => {
expect(resolveCoreVersion(["0.0.2056", "0.0.2072"], "^0.0.2056")).toBe("0.0.2056");
expect(resolveCoreVersion(["0.0.2056", "0.0.2072"], "^0.0.2072")).toBe("0.0.2072");
expect(resolveCoreVersion(["0.0.2072-beta.1"], ">=0.0.2072-0")).toBeUndefined();
});