test: load the committed calibration file by its repo path so pregate maps it to a lane

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-29 05:59:51 +00:00
1 parent e393a03bdb
commit f557ba36dc
1 file changed
+2 -1
+2 -1
View File
@@ -5,9 +5,10 @@
* three runs observed.
*/
import { describe, expect, test } from 'bun:test';
import * as path from 'node:path';
import { fitConstant, loadCalibration, unitConstants } from '../lib/ship-budget';
const cal = loadCalibration();
const cal = loadCalibration(path.join(import.meta.dir, '..', 'lib/ship-budget-calibration.json'));
describe('ship-budget calibration', () => {
test('constants equal the conservative fit of their observations', () => {