Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import React from
'react'
2
import {Pagination} from
'../Pagination'
3
import {render, screen} from
'@testing-library/react'
4
import userEvent from
'@testing-library/user-event'
Callers
nothing calls this directly
Calls
11
render
Function · 0.90
getCurrentPage
Function · 0.85
getFirstPage
Function · 0.85
getLastPage
Function · 0.85
getPages
Function · 0.85
getPage
Function · 0.85
getPageRange
Function · 0.85
getNextPage
Function · 0.85
getPreviousPage
Function · 0.85
getPreviousStep
Function · 0.85
getNextStep
Function · 0.85
Tested by
no test coverage detected