Parsed all repo with a regexp of common misspelled words and fixed.
This commit is contained in:
garanews
2020-10-07 12:29:30 +02:00
committed by GitHub
parent 9c112cd785
commit 61749dee23
28 changed files with 37 additions and 37 deletions

View File

@@ -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);

View File

@@ -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;
/**

View File

@@ -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);
});