From 8a10451f95567b7c2c78b723487e9d6cd8e979f3 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 11 Mar 2021 16:53:05 +0100 Subject: [PATCH] build: add exception for missing MDC test (#22188) Adds an exception for one missing test until #22187 is merged. --- scripts/check-mdc-tests-config.ts | 3 +++ src/material-experimental/mdc-chips/chip-input.ts | 8 ++++---- src/material/chips/chip-input.ts | 8 ++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/scripts/check-mdc-tests-config.ts b/scripts/check-mdc-tests-config.ts index 3d8a32cb8a2b..bccb7185e851 100644 --- a/scripts/check-mdc-tests-config.ts +++ b/scripts/check-mdc-tests-config.ts @@ -140,6 +140,9 @@ export const config = { 'element is inside an ngIf' ], 'mdc-select': [ + // TODO(crisbeto): remove this exception once #22187 lands. + 'should float the label on focus if it has a placeholder', + // These tests are excluded, because they're verifying the functionality that positions // the select panel over the trigger which isn't supported in the MDC select. 'should set the width of the overlay based on a larger trigger width', diff --git a/src/material-experimental/mdc-chips/chip-input.ts b/src/material-experimental/mdc-chips/chip-input.ts index 5a250fe8d03c..f0d7e00c7740 100644 --- a/src/material-experimental/mdc-chips/chip-input.ts +++ b/src/material-experimental/mdc-chips/chip-input.ts @@ -25,7 +25,7 @@ import {MatChipTextControl} from './chip-text-control'; /** Represents an input event on a `matChipInput`. */ export interface MatChipInputEvent { - /** + /** * The native `` element that the event is being fired for. * @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead. * @breaking-change 13.0.0 This property will be removed. @@ -34,9 +34,9 @@ export interface MatChipInputEvent { /** The value of the input. */ value: string; - - /** - * Reference to the chip input that emitted the event. + + /** + * Reference to the chip input that emitted the event. * @breaking-change 13.0.0 This property will be made required. */ chipInput?: MatChipInput; diff --git a/src/material/chips/chip-input.ts b/src/material/chips/chip-input.ts index cec8388f4667..61b42772e313 100644 --- a/src/material/chips/chip-input.ts +++ b/src/material/chips/chip-input.ts @@ -25,7 +25,7 @@ import {MatChipTextControl} from './chip-text-control'; /** Represents an input event on a `matChipInput`. */ export interface MatChipInputEvent { - /** + /** * The native `` element that the event is being fired for. * @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead. * @breaking-change 13.0.0 This property will be removed. @@ -34,9 +34,9 @@ export interface MatChipInputEvent { /** The value of the input. */ value: string; - - /** - * Reference to the chip input that emitted the event. + + /** + * Reference to the chip input that emitted the event. * @breaking-change 13.0.0 This property will be made required. */ chipInput?: MatChipInput;