MCPcopy
hub / github.com/primer/react / Pagination.test.tsx

File Pagination.test.tsx

packages/react/src/DataTable/__tests__/Pagination.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React from 'react'
2import {Pagination} from '../Pagination'
3import {render, screen} from '@testing-library/react'
4import userEvent from '@testing-library/user-event'

Callers

nothing calls this directly

Calls 11

renderFunction · 0.90
getCurrentPageFunction · 0.85
getFirstPageFunction · 0.85
getLastPageFunction · 0.85
getPagesFunction · 0.85
getPageFunction · 0.85
getPageRangeFunction · 0.85
getNextPageFunction · 0.85
getPreviousPageFunction · 0.85
getPreviousStepFunction · 0.85
getNextStepFunction · 0.85

Tested by

no test coverage detected