Commit 98bea773 authored by David O'Regan's avatar David O'Regan

fix: updating options string to be raw data

parent b8250204
......@@ -35,7 +35,7 @@ describe('options spec', () => {
const options = getYAxisOptions();
expect(options.axisLabel.formatter).toEqual(expect.any(Function));
expect(options.axisLabel.formatter('3,002.10')).toBe('3k');
expect(options.axisLabel.formatter(3002.1)).toBe('3k');
});
it('formatter options allows for precision to be set explicitly', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment