Skip to content

Commit 32eb9e1

Browse files
authored
Fixes MatIconTestingModule import (#6797)
## Motivation for features / changes Importing MatIconTestingModule from `@angular/material/icon/testing` will break 1p sync. Changing this to import from `webapp/testing/mat_icon_module.ts` instead, in accordance with previous usage.
1 parent 9ef171f commit 32eb9e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorboard/webapp/widgets/data_table/context_menu_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
1313
limitations under the License.
1414
==============================================================================*/
1515

16-
import {ComponentFixture, TestBed} from '@angular/core/testing';
17-
import {MatIconTestingModule} from '@angular/material/icon/testing';
16+
import {TestBed} from '@angular/core/testing';
17+
import {MatIconTestingModule} from '../../testing/mat_icon_module';
1818
import {By} from '@angular/platform-browser';
1919
import {ContextMenuComponent} from './context_menu_component';
2020
import {ContextMenuModule} from './context_menu_module';

0 commit comments

Comments
 (0)