refactor: extract coerce and stressorToString into util.js
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user