(title: string, sourceIndex: number, sticky: boolean, width: number)
| 12 | import type { ImageWindowLoader } from "../src/internal/data-grid/image-window-loader-interface.js"; |
| 13 | |
| 14 | function makeCol(title: string, sourceIndex: number, sticky: boolean, width: number): MappedGridColumn { |
| 15 | return { |
| 16 | title, |
| 17 | sourceIndex, |
| 18 | sticky, |
| 19 | width, |
| 20 | group: undefined, |
| 21 | grow: undefined, |
| 22 | hasMenu: undefined, |
| 23 | icon: undefined, |
| 24 | id: undefined, |
| 25 | menuIcon: undefined, |
| 26 | overlayIcon: undefined, |
| 27 | style: undefined, |
| 28 | themeOverride: undefined, |
| 29 | trailingRowOptions: undefined, |
| 30 | growOffset: undefined, |
| 31 | rowMarker: undefined, |
| 32 | rowMarkerChecked: undefined, |
| 33 | }; |
| 34 | } |
| 35 | |
| 36 | describe("remapForDnDState", () => { |
| 37 | const sampleColumns: MappedGridColumn[] = [ |
no outgoing calls
no test coverage detected
searching dependent graphs…