Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 08cfd4a

Browse files
committed
Fix axis test for fancy exponent format
1 parent 87d1dcb commit 08cfd4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/axes_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,9 +2376,9 @@ describe('Test axes', function() {
23762376

23772377
mockCalc(ax);
23782378

2379-
expect(mockHoverText(ax, 1e-21)).toBe('1e\u221221');
2379+
expect(mockHoverText(ax, 1e-21)).toBe('1×10<sup>−21</sup>');
23802380
expect(mockHoverText(ax, 1)).toBe('1');
2381-
expect(mockHoverText(ax, 1e21)).toBe('1e+21');
2381+
expect(mockHoverText(ax, 1e21)).toBe('1×10<sup>21</sup>');
23822382
});
23832383
});
23842384

0 commit comments

Comments
 (0)