@glideapps/glide-data-grid
Advanced tools
Comparing version 5.3.1 to 5.3.2
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"description": "React data grid for beautifully displaying and editing large amounts of data with amazing performance.", | ||
@@ -5,0 +5,0 @@ "sideEffects": [ |
@@ -85,2 +85,23 @@ /* eslint-disable sonarjs/no-duplicate-string */ | ||
test("Simple text cell with multiple spaces", () => { | ||
const cells: GridCell[][] = [ | ||
[ | ||
{ | ||
kind: GridCellKind.Text, | ||
data: "Hello", | ||
allowOverlay: true, | ||
displayData: "Display Hello", | ||
}, | ||
], | ||
]; | ||
const columnIndexes = [0]; | ||
const result = getCopyBufferContents(cells, columnIndexes); | ||
expect(result.textPlain).toBe("Display Hello"); | ||
expect(result.textHtml).toContain( | ||
'<td gdg-raw-value="Hello" gdg-format="string">Display<span> </span><span> </span>Hello</td>' | ||
); | ||
}); | ||
test("Simple text cell with special chars", () => { | ||
@@ -87,0 +108,0 @@ const cells: GridCell[][] = [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3243325
33563