mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix typos (#28074)
Parsed all repo with a regexp of common misspelled words and fixed.
This commit is contained in:
@@ -163,7 +163,7 @@ describe('Positions', () => {
|
||||
// Note: ps.ys = [0, 2, 6, 12, 20, undefined x 5];
|
||||
});
|
||||
|
||||
it('scans y-values for index that equals or preceeds `yValue`', () => {
|
||||
it('scans y-values for index that equals or precedes `yValue`', () => {
|
||||
let i = ps.findFloorIndex(3, getHeight);
|
||||
expect(i).toBe(1);
|
||||
i = ps.findFloorIndex(21, getHeight);
|
||||
|
||||
@@ -33,12 +33,12 @@ type TListViewProps = {
|
||||
dataLength: number;
|
||||
/**
|
||||
* Convert item index (number) to the key (string). ListView uses both indexes
|
||||
* and keys to handle the addtion of new rows.
|
||||
* and keys to handle the addition of new rows.
|
||||
*/
|
||||
getIndexFromKey: (key: string) => number;
|
||||
/**
|
||||
* Convert item key (string) to the index (number). ListView uses both indexes
|
||||
* and keys to handle the addtion of new rows.
|
||||
* and keys to handle the addition of new rows.
|
||||
*/
|
||||
getKeyFromIndex: (index: number) => string;
|
||||
/**
|
||||
|
||||
@@ -63,7 +63,7 @@ describe('Tween', () => {
|
||||
expect(setTimeoutFn).lastCalledWith(tween._frameCallback, delay);
|
||||
});
|
||||
|
||||
it('schedules animation frame if there isnt a delay', () => {
|
||||
it('schedules animation frame if there is not a delay', () => {
|
||||
const tween = new Tween({ ...baseOptions, onUpdate: jest.fn() });
|
||||
expect(rafFn).lastCalledWith(tween._frameCallback);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user