mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 11:13:21 +00:00
9 lines
361 B
TypeScript
9 lines
361 B
TypeScript
import { parseLipoOutputResult } from "../../src/native/parsers/lipo.js";
|
|
|
|
/** Unwrap the production parser boundary for fixture setup and error assertions. */
|
|
export const parseLipoFixture = (output: string, operandPath?: string) => {
|
|
const parsed = parseLipoOutputResult(output, operandPath);
|
|
if (!parsed.ok) throw parsed.error;
|
|
return parsed.value;
|
|
};
|