mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Upgrade prettier to v3 (#71764)
* Update dependency prettier to v3 (#71586) * Update dependency prettier to v3 * run prettier * ignore prettier update in legacy select scss * update command line arg --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> * unplug prettier --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@@ -100,7 +100,7 @@ describe('getValidIntervals', () => {
|
||||
getTimeSrv: () =>
|
||||
({
|
||||
getValidIntervals: (intervals: string[]) => intervals,
|
||||
} as unknown as TimeSrv),
|
||||
}) as unknown as TimeSrv,
|
||||
};
|
||||
|
||||
const result = getValidIntervals(emptyIntervals, dependencies);
|
||||
@@ -116,7 +116,7 @@ describe('getValidIntervals', () => {
|
||||
getTimeSrv: () =>
|
||||
({
|
||||
getValidIntervals: (intervals: string[]) => intervals,
|
||||
} as unknown as TimeSrv),
|
||||
}) as unknown as TimeSrv,
|
||||
};
|
||||
|
||||
const result = getValidIntervals(duplicateIntervals, dependencies);
|
||||
@@ -132,7 +132,7 @@ describe('getValidIntervals', () => {
|
||||
getTimeSrv: () =>
|
||||
({
|
||||
getValidIntervals: (intervals: string[]) => intervals,
|
||||
} as unknown as TimeSrv),
|
||||
}) as unknown as TimeSrv,
|
||||
};
|
||||
|
||||
const result = getValidIntervals(duplicateIntervals, dependencies);
|
||||
@@ -149,7 +149,7 @@ describe('validateIntervals', () => {
|
||||
getTimeSrv: () =>
|
||||
({
|
||||
getValidIntervals: (intervals: string[]) => intervals,
|
||||
} as unknown as TimeSrv),
|
||||
}) as unknown as TimeSrv,
|
||||
};
|
||||
|
||||
const result = validateIntervals(defaultIntervals, dependencies);
|
||||
@@ -166,7 +166,7 @@ describe('validateIntervals', () => {
|
||||
getValidIntervals: () => {
|
||||
throw new Error('Some error');
|
||||
},
|
||||
} as unknown as TimeSrv),
|
||||
}) as unknown as TimeSrv,
|
||||
};
|
||||
|
||||
const result = validateIntervals(defaultIntervals, dependencies);
|
||||
|
||||
Reference in New Issue
Block a user