Skip to content

Commit 0456298

Browse files
committed
Fixed unit test
1 parent 10b4c1e commit 0456298

File tree

9 files changed

+258
-3
lines changed

9 files changed

+258
-3
lines changed

.idea/codeStyles/Project.xml

Lines changed: 111 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/prettier.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/dataviews/src/dataviews-layouts/table/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
td,
1717
th {
1818
padding: $grid-unit-15;
19-
max-width: 60ch;
19+
white-space: nowrap;
2020

2121
&.dataviews-view-table__actions-column {
2222
text-align: right;

packages/dataviews/src/test/filter-and-sort-data-view.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ describe( 'filters', () => {
5555
fields
5656
);
5757
expect( result ).toHaveLength( 2 );
58-
expect( result[ 0 ].description ).toBe( "Earth's satellite" );
58+
expect( result[ 0 ].description ).toBe(
59+
'The Moon is Earth’s only natural satellite, orbiting at an average distance of 384,400 kilometers with a synchronous rotation that leads to fixed lunar phases as seen from Earth. Its cratered surface and subtle glow define night skies, inspiring exploration missions and influencing tides and biological rhythms worldwide.'
60+
);
5961
} );
6062

6163
it( 'should perform case-insensitive and accent-insensitive search', () => {
@@ -422,7 +424,7 @@ describe( 'filters', () => {
422424
fields
423425
);
424426
expect( result.map( ( r ) => r.description ) ).toEqual( [
425-
"Earth's satellite",
427+
'The Moon is Earth’s only natural satellite, orbiting at an average distance of 384,400 kilometers with a synchronous rotation that leads to fixed lunar phases as seen from Earth. Its cratered surface and subtle glow define night skies, inspiring exploration missions and influencing tides and biological rhythms worldwide.',
426428
'Moon of Jupiter',
427429
'Moon of Jupiter',
428430
'La planète Vénus',

0 commit comments

Comments
 (0)