diff --git a/app/components/InstrumentPage.test.ts b/app/components/InstrumentPage.test.ts index 90c200d..e7630ee 100644 --- a/app/components/InstrumentPage.test.ts +++ b/app/components/InstrumentPage.test.ts @@ -49,7 +49,7 @@ test("toPrecision truncates block if it has precision", () => { precision: precision, }; expect(toPrecision(aBlock, originalValue)).toBe( - originalValue.toPrecision(precision), + originalValue.toFixed(precision), ); });