refactor: extract coerce and stressorToString into util.js

This commit is contained in:
c0dev0id
2026-07-06 21:09:36 +02:00
parent 1ad4b73c9a
commit 9a2e76ba4f
5 changed files with 19 additions and 19 deletions

View File

@@ -4,7 +4,8 @@
import { readFileSync } from 'fs';
import { parseAstLog, buildModel } from './static/ast-parser.js';
import { exportInstrument, patchScore, stressorToString } from './static/exporter.js';
import { exportInstrument, patchScore } from './static/exporter.js';
import { stressorToString } from './static/util.js';
const FIXTURE = new URL('./fixtures/ast.log', import.meta.url);
const text = readFileSync(FIXTURE, 'utf8');