mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Fix tests
This commit is contained in:
parent
679ac764b1
commit
972ceb24e6
@ -324,7 +324,7 @@ describe('Core helper tests', function() {
|
||||
it('should do a log10 operation', function() {
|
||||
expect(helpers.log10(0)).toBe(-Infinity);
|
||||
expect(helpers.log10(1)).toBe(0);
|
||||
expect(helpers.log10(1000)).toBe(3);
|
||||
expect(helpers.log10(1000)).toBeCloseTo(3, 1e-9);
|
||||
});
|
||||
|
||||
it('Should generate ids', function() {
|
||||
|
Loading…
Reference in New Issue
Block a user