File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,12 @@ export class CdkTable<T> implements CollectionViewer {
101
101
102
102
constructor ( private readonly _differs : IterableDiffers ,
103
103
private readonly _changeDetectorRef : ChangeDetectorRef ) {
104
- console . warn ( 'The data table is still in active development ' +
104
+ // Show the stability warning of the data-table only if it doesn't run inside of jasmine.
105
+ // This is just temporary and should reduce warnings when running the tests.
106
+ if ( ! ( typeof window !== 'undefined' && window [ 'jasmine' ] ) ) {
107
+ console . warn ( 'The data table is still in active development ' +
105
108
'and should be considered unstable.' ) ;
109
+ }
106
110
107
111
// TODO(andrewseguin): Add trackby function input.
108
112
// Find and construct an iterable differ that can be used to find the diff in an array.
You can’t perform that action at this time.
0 commit comments