8
8
// tslint:disable-next-line:no-implicit-dependencies
9
9
import { tags } from '@angular-devkit/core' ;
10
10
import { transformJavascript } from '../helpers/transform-javascript' ;
11
- import { getImportTslibTransformer , testImportTslib } from './import-tslib' ;
11
+ import { getImportTslibTransformer } from './import-tslib' ;
12
12
13
13
14
14
const transform = ( content : string ) => transformJavascript (
@@ -27,7 +27,6 @@ describe('import-tslib', () => {
27
27
import { __extends } from "tslib";
28
28
` ;
29
29
30
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
31
30
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
32
31
} ) ;
33
32
@@ -46,7 +45,6 @@ describe('import-tslib', () => {
46
45
export default function appGlobal() { }
47
46
` ;
48
47
49
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
50
48
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
51
49
} ) ;
52
50
@@ -64,7 +62,6 @@ describe('import-tslib', () => {
64
62
import { __decorate } from "tslib";
65
63
` ;
66
64
67
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
68
65
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
69
66
} ) ;
70
67
@@ -89,7 +86,6 @@ describe('import-tslib', () => {
89
86
import { __decorate as __decorate$2 } from "tslib";
90
87
` ;
91
88
92
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
93
89
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
94
90
} ) ;
95
91
@@ -118,7 +114,6 @@ describe('import-tslib', () => {
118
114
exports.meaning = 42;
119
115
` ;
120
116
121
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
122
117
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
123
118
} ) ;
124
119
@@ -132,7 +127,6 @@ describe('import-tslib', () => {
132
127
import { __metadata } from "tslib";
133
128
` ;
134
129
135
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
136
130
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
137
131
} ) ;
138
132
@@ -147,7 +141,6 @@ describe('import-tslib', () => {
147
141
import { __param } from "tslib";
148
142
` ;
149
143
150
- expect ( testImportTslib ( input ) ) . toBeTruthy ( ) ;
151
144
expect ( tags . oneLine `${ transform ( input ) } ` ) . toEqual ( tags . oneLine `${ output } ` ) ;
152
145
} ) ;
153
146
0 commit comments