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 @@ -10,10 +10,7 @@ ts_library(
10
10
name = "angular_test_init" ,
11
11
testonly = True ,
12
12
# This file *must* end with "spec" in order for "karma_web_test_suite" to load it.
13
- srcs = [
14
- "angular-test-init-spec.ts" ,
15
- "test-blocklist.ts" ,
16
- ],
13
+ srcs = ["angular-test-init-spec.ts" ],
17
14
deps = [
18
15
"@npm//@angular/core" ,
19
16
"@npm//@angular/platform-browser-dynamic" ,
Original file line number Diff line number Diff line change 3
3
BrowserDynamicTestingModule ,
4
4
platformBrowserDynamicTesting ,
5
5
} from '@angular/platform-browser-dynamic/testing' ;
6
- import { testBlocklist } from './test-blocklist' ;
7
6
8
7
/*
9
8
* Common setup / initialization for all unit tests in Angular Material and CDK.
@@ -55,16 +54,3 @@ function patchTestBedToDestroyFixturesAfterEveryTest(testBedInstance: TestBed) {
55
54
// https://github.com/angular/angular/blob/master/packages/core/testing/src/before_each.ts#L25
56
55
afterEach ( ( ) => testBedInstance . resetTestingModule ( ) ) ;
57
56
}
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