Skip to content

Commit

Permalink
build: add exception for missing MDC test
Browse files Browse the repository at this point in the history
Adds an exception for one missing test until #22187 is merged.
  • Loading branch information
crisbeto committed Mar 11, 2021
1 parent 97f1ccc commit 4ba7ecc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions scripts/check-mdc-tests-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions src/material-experimental/mdc-chips/chip-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {MatChipTextControl} from './chip-text-control';

/** Represents an input event on a `matChipInput`. */
export interface MatChipInputEvent {
/**
/**
* The native `<input>` element that the event is being fired for.
* @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead.
* @breaking-change 13.0.0 This property will be removed.
Expand All @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions src/material/chips/chip-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {MatChipTextControl} from './chip-text-control';

/** Represents an input event on a `matChipInput`. */
export interface MatChipInputEvent {
/**
/**
* The native `<input>` element that the event is being fired for.
* @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead.
* @breaking-change 13.0.0 This property will be removed.
Expand All @@ -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;
Expand Down

0 comments on commit 4ba7ecc

Please sign in to comment.