diff --git a/lib/core/src/lib/datatable/components/datatable/datatable.component.spec.ts b/lib/core/src/lib/datatable/components/datatable/datatable.component.spec.ts index 17c5ae6f1dd..baa2c4a1033 100644 --- a/lib/core/src/lib/datatable/components/datatable/datatable.component.spec.ts +++ b/lib/core/src/lib/datatable/components/datatable/datatable.component.spec.ts @@ -294,7 +294,7 @@ describe('DataTable', () => { }); it('should have assigned filterDisabledColumns to sortPredicate of CdkDropList', () => { - expect(getDropList().sortPredicate).toBeDefined(); + expect(getDropList().sortPredicate).toBe(dataTable.filterDisabledColumns); }); it('should sortPredicate from CdkDropList return true if column is enabled', () => {