Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
UM100080 authored and UM100080 committed Nov 20, 2023
1 parent beb094a commit bc666bc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,7 @@ describe('Graph - Axes', () => {
});
});
describe('Tick Labels Rotation', () => {
fit('tickLabelsRotation values will be 0 or -45', () => {
it('tickLabelsRotation values will be 0 or -45', () => {
const localeAxisObj = utils.deepClone(axisTimeSeries);
localeAxisObj.x = {
type: 'timeseries',
Expand Down Expand Up @@ -2965,8 +2965,6 @@ describe('Graph - Axes', () => {
localeAxisObj.x.ticks = {
tickLabelsRotation: 23,
};
// Spy on console.warn
spyOn(console, 'warn');
graph = new Graph(getAxes(localeAxisObj));

expect(graph.config.axis.x.ticks.tickLabelsRotation).toBe(0);
Expand Down

0 comments on commit bc666bc

Please sign in to comment.