File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ namespace ts {
130
130
}
131
131
132
132
MapShim = ShimCollections . createMapShim ( getIterator ) ;
133
- afterEach ( ( ) => {
134
- MapShim = undefined ! ;
135
- } ) ;
133
+ } ) ;
134
+ afterEach ( ( ) => {
135
+ MapShim = undefined ! ;
136
136
} ) ;
137
137
138
138
it ( "iterates values in insertion order and handles changes with string keys" , ( ) => {
Original file line number Diff line number Diff line change @@ -128,9 +128,9 @@ namespace ts {
128
128
}
129
129
130
130
SetShim = ShimCollections . createSetShim ( getIterator ) ;
131
- afterEach ( ( ) => {
132
- SetShim = undefined ! ;
133
- } ) ;
131
+ } ) ;
132
+ afterEach ( ( ) => {
133
+ SetShim = undefined ! ;
134
134
} ) ;
135
135
136
136
it ( "iterates values in insertion order and handles changes with string keys" , ( ) => {
Original file line number Diff line number Diff line change 1
1
namespace ts {
2
2
describe ( "unittests:: debugDeprecation" , ( ) => {
3
+ let loggingHost : LoggingHost | undefined ;
3
4
beforeEach ( ( ) => {
4
- const loggingHost = Debug . loggingHost ;
5
- afterEach ( ( ) => {
6
- Debug . loggingHost = loggingHost ;
7
- } ) ;
5
+ loggingHost = Debug . loggingHost ;
6
+ } ) ;
7
+ afterEach ( ( ) => {
8
+ Debug . loggingHost = loggingHost ;
9
+ loggingHost = undefined ;
8
10
} ) ;
9
11
describe ( "deprecateFunction" , ( ) => {
10
12
it ( "silent deprecation" , ( ) => {
You can’t perform that action at this time.
0 commit comments