Commit 93d29d34 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '214762' into 'master'

Updating options spec string to be raw data

See merge request gitlab-org/gitlab!29764
parents 68bd81fe 98bea773
...@@ -35,7 +35,7 @@ describe('options spec', () => { ...@@ -35,7 +35,7 @@ describe('options spec', () => {
const options = getYAxisOptions(); const options = getYAxisOptions();
expect(options.axisLabel.formatter).toEqual(expect.any(Function)); 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', () => { 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