Skip to content

Commit 0dd3810

Browse files
author
Alyar
committed
Fix jest tests
1 parent 0bea190 commit 0dd3810

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/devextreme/js/__internal/grids/grid_core/column_headers/m_column_headers.integration.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ describe('Column Headers', () => {
101101
describe('toggleFirstCellClass', () => {
102102
it('should add first-cell class to the first column', async () => {
103103
const { component } = await createDataGrid({
104+
showColumnLines: false,
104105
dataSource: [{ field1: 1, field2: 2, field3: 3 }],
105106
columns: [
106107
'field1',
@@ -117,6 +118,7 @@ describe('Column Headers', () => {
117118

118119
it('should not add first-cell class to non-first columns', async () => {
119120
const { component } = await createDataGrid({
121+
showColumnLines: false,
120122
dataSource: [{ field1: 1, field2: 2, field3: 3 }],
121123
columns: [
122124
'field1',
@@ -138,6 +140,7 @@ describe('Column Headers', () => {
138140

139141
it('should update first-cell class when first column visibility changes', async () => {
140142
const { component } = await createDataGrid({
143+
showColumnLines: false,
141144
dataSource: [{ field1: 1, field2: 2, field3: 3 }],
142145
columns: [
143146
'field1',
@@ -157,6 +160,7 @@ describe('Column Headers', () => {
157160

158161
it('should add first-cell class when band column is first', async () => {
159162
const { component } = await createDataGrid({
163+
showColumnLines: false,
160164
dataSource: [{ field1: 1, field2: 2, field3: 3 }],
161165
columns: [
162166
{
@@ -176,6 +180,7 @@ describe('Column Headers', () => {
176180

177181
it('should not add first-cell class to non-first columns when band column is first', async () => {
178182
const { component } = await createDataGrid({
183+
showColumnLines: false,
179184
dataSource: [{ field1: 1, field2: 2, field3: 3 }],
180185
columns: [
181186
{

0 commit comments

Comments
 (0)