INNER CODE UNIT · JavaScript

snapshotTestVariables

figranium/figranium · src/agent/figranite/index.js:68

const snapshotTestVariables = (runtimeVars) => Object.fromEntries(
    Object.entries(runtimeVars || {}).filter(([name]) => name !== 'html')
);

const isStopRequested = (runId) => {
    return consumeStopRequest(runId);
};

class TaskInputError extends Error {
    constructor(message) {
        super(message);
        this.name = 'TaskInputError';
        this.code = 'INVALID_TASK_INPUT';
        this.isTaskInputError = true;
    }
}

async function runFigranite(data, options = {}) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…