-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/tabs): add a harness filter for tab selected state (#25806
- Loading branch information
Showing
9 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import {MatLegacyTabsModule} from '@angular/material/legacy-tabs'; | ||
import {runTabGroupHarnessTests} from '@angular/material/tabs/testing/tab-group-shared.spec'; | ||
import {MatLegacyTabGroupHarness} from './tab-group-harness'; | ||
import {MatLegacyTabHarness} from './tab-harness'; | ||
|
||
describe('Non-MDC-based MatTabGroupHarness', () => { | ||
runTabGroupHarnessTests(MatLegacyTabsModule, MatLegacyTabGroupHarness as any); | ||
runTabGroupHarnessTests( | ||
MatLegacyTabsModule, | ||
MatLegacyTabGroupHarness as any, | ||
MatLegacyTabHarness as any, | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import {MatTabsModule} from '@angular/material/tabs'; | ||
import {runTabGroupHarnessTests} from './tab-group-shared.spec'; | ||
import {MatTabGroupHarness} from './tab-group-harness'; | ||
import {MatTabHarness} from './tab-harness'; | ||
|
||
describe('MDC-based MatTabGroupHarness', () => { | ||
runTabGroupHarnessTests(MatTabsModule, MatTabGroupHarness); | ||
runTabGroupHarnessTests(MatTabsModule, MatTabGroupHarness, MatTabHarness); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters