File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
easydata.js/packs/core/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ describe('AggregationSettings', () => {
10
10
let settings : AggregationSettings ;
11
11
12
12
beforeEach ( ( ) => {
13
- // Create mock for AggregationColumnStore
13
+ // Creating a mock for AggregationColumnStore
14
14
columnStore = mock < AggregationColumnStore > ( {
15
15
getColumnIds : ( from , to ) => {
16
16
const result = [ ] ;
@@ -126,7 +126,7 @@ describe('AggregationSettings', () => {
126
126
} ) ;
127
127
128
128
it ( 'should check if settings are valid' , ( ) => {
129
- // No groups and aggregates -> invalid
129
+ // Non-existent groups and aggregates -> invalid
130
130
expect ( settings . isValid ( ) ) . toBe ( false ) ;
131
131
132
132
// Only groups -> invalid
@@ -137,7 +137,7 @@ describe('AggregationSettings', () => {
137
137
settings . addAggregateColumn ( 'col2' , 'sum' ) ;
138
138
expect ( settings . isValid ( ) ) . toBe ( true ) ;
139
139
140
- // Only aggregates and total -> valid
140
+ // Only aggregates and totals -> valid
141
141
settings . clear ( ) ;
142
142
settings . addAggregateColumn ( 'col1' , 'sum' ) ;
143
143
settings . addGrandTotals ( ) ;
You can’t perform that action at this time.
0 commit comments