File tree Expand file tree Collapse file tree 3 files changed +1
-35
lines changed Expand file tree Collapse file tree 3 files changed +1
-35
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ ts_library(
99 name = "angular_test_init" ,
1010 testonly = True ,
1111 # This file *must* end with "spec" in order for "karma_web_test_suite" to load it.
12- srcs = [
13- "angular-test-init-spec.ts" ,
14- "test-blocklist.ts" ,
15- ],
12+ srcs = ["angular-test-init-spec.ts" ],
1613 deps = [
1714 "@npm//@angular/core" ,
1815 "@npm//@angular/platform-browser-dynamic" ,
Original file line number Diff line number Diff line change 33 BrowserDynamicTestingModule ,
44 platformBrowserDynamicTesting ,
55} from '@angular/platform-browser-dynamic/testing' ;
6- import { testBlocklist } from './test-blocklist' ;
76
87/*
98 * Common setup / initialization for all unit tests in Angular Material and CDK.
@@ -55,16 +54,3 @@ function patchTestBedToDestroyFixturesAfterEveryTest(testBedInstance: TestBed) {
5554 // https://github.com/angular/angular/blob/master/packages/core/testing/src/before_each.ts#L25
5655 afterEach ( ( ) => testBedInstance . resetTestingModule ( ) ) ;
5756}
58-
59-
60- // Filter out any tests explicitly given in the blocklist. The blocklist is empty in the
61- // components repository, but the file will be overwritten if the framework repository runs
62- // the Angular component test suites against the latest snapshots. This is helpful because
63- // sometimes breaking changes that break individual tests land in the framework repository.
64- // It should be possible to disable these tests until the component repository migrated the
65- // broken tests once the breaking change is released.
66- ( jasmine . getEnv ( ) as any ) . configure ( {
67- specFilter : function ( spec : jasmine . Spec ) {
68- return ! testBlocklist || ! testBlocklist [ spec . getFullName ( ) ] ;
69- }
70- } ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments