mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 06:24:41 +01:00
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:
1 parent
e393a03bdb
commit
f557ba36dc
1 file changed
+2
-1
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user