Skip to content

Commit

Permalink
cr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OlimpiaZurek committed Dec 11, 2023
1 parent 4e34ce2 commit c97161e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/perf-test/SelectionList.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ function SelectionListWrapper(args) {

const runs = CONST.PERFORMANCE_TESTS.RUNS;

test('[SectionList] should render 1 section and a thousand items', () => {
test('[SelectionList] should render 1 section and a thousand items', () => {
measurePerformance(<SelectionListWrapper />);
});

test('[SectionList] should press a list item', () => {
test('[SelectionList] should press a list item', () => {
const scenario = (screen) => {
fireEvent.press(screen.getByText('Item 5'));
};

measurePerformance(<SelectionListWrapper />, {scenario, runs});
});

test('[SectionList] should render multiple selection and select 3 items', () => {
test('[SelectionList] should render multiple selection and select 3 items', () => {
const scenario = (screen) => {
fireEvent.press(screen.getByText('Item 1'));
fireEvent.press(screen.getByText('Item 2'));
Expand All @@ -117,7 +117,7 @@ test('[SectionList] should render multiple selection and select 3 items', () =>
measurePerformance(<SelectionListWrapper canSelectMultiple />, {scenario, runs});
});

test('[SectionList] should scroll and select a few items', () => {
test('[SelectionList] should scroll and select a few items', () => {
const eventData = {
nativeEvent: {
contentOffset: {
Expand Down

0 comments on commit c97161e

Please sign in to comment.