Skip to content

Commit b8461a8

Browse files
committed
fixup! test(radio): add performance tests for mat-radio-button
1 parent d70c257 commit b8461a8

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

test/benchmarks/material/radio/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ component_benchmark(
1515
"@npm//@angular/core",
1616
"@npm//@angular/platform-browser",
1717
"//src/material/radio",
18-
"//src/cdk/a11y",
1918
],
2019
ng_srcs = [":app.module.ts"],
2120
prefix = "",

test/benchmarks/material/radio/app.module.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
import {A11yModule} from '@angular/cdk/a11y';
98
import {Component, NgModule, ViewEncapsulation} from '@angular/core';
109
import {BrowserModule} from '@angular/platform-browser';
1110
import {MatRadioModule} from '@angular/material/radio';
1211

13-
/**
14-
* @title Radio benchmark component.
15-
*/
1612
@Component({
1713
selector: 'app-root',
1814
template: `
@@ -60,7 +56,6 @@ export class RadioBenchmarkApp {
6056
@NgModule({
6157
declarations: [RadioBenchmarkApp],
6258
imports: [
63-
A11yModule,
6459
BrowserModule,
6560
MatRadioModule,
6661
],

test/benchmarks/material/radio/radio.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('radio button performance benchmarks', () => {
3636
});
3737
});
3838

39-
it('clicks between radio buttons', async() => {
39+
it('changing between radio buttons', async() => {
4040
await runBenchmark({
4141
id: 'click-radio-button',
4242
url: '',

0 commit comments

Comments
 (0)