@@ -44,23 +44,26 @@ describe('Blueprint: component-test', function () {
44
44
expect ( _file ( 'tests/integration/components/foo-test.gjs' ) ) . to . equal (
45
45
fixture ( 'component-test/rfc232.gjs' , {
46
46
replace : {
47
- modulePrefix : 'my-app'
48
- }
47
+ modulePrefix : 'my-app' ,
48
+ } ,
49
49
} )
50
50
) ;
51
51
} ) ;
52
52
} ) ;
53
53
54
54
it ( 'component-test foo --strict --typescript' , function ( ) {
55
- return emberGenerateDestroy ( [ 'component-test' , 'foo' , '--strict' , '--typescript' ] , ( _file ) => {
56
- expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
57
- fixture ( 'component-test/rfc232.gts' , {
58
- replace : {
59
- modulePrefix : 'my-app'
60
- }
61
- } )
62
- ) ;
63
- } ) ;
55
+ return emberGenerateDestroy (
56
+ [ 'component-test' , 'foo' , '--strict' , '--typescript' ] ,
57
+ ( _file ) => {
58
+ expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
59
+ fixture ( 'component-test/rfc232.gts' , {
60
+ replace : {
61
+ modulePrefix : 'my-app' ,
62
+ } ,
63
+ } )
64
+ ) ;
65
+ }
66
+ ) ;
64
67
} ) ;
65
68
} ) ;
66
69
@@ -204,21 +207,26 @@ describe('Blueprint: component-test', function () {
204
207
expect ( _file ( 'tests/integration/components/foo-test.gjs' ) ) . to . equal (
205
208
fixture ( 'component-test/rfc232.gjs' , {
206
209
replace : {
207
- modulePrefix : 'dummy'
208
- }
210
+ modulePrefix : 'dummy' ,
211
+ } ,
209
212
} )
210
213
) ;
211
214
} ) ;
212
215
} ) ;
213
216
214
217
it ( 'component-test foo --strict --typescript' , function ( ) {
215
- return emberGenerateDestroy ( [ 'component-test' , 'foo' , '--strict' , '--typescript' ] , ( _file ) => {
216
- expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
217
- fixture ( 'component-test/rfc232.gts' , { replace : {
218
- modulePrefix : 'dummy'
219
- } } )
220
- ) ;
221
- } ) ;
218
+ return emberGenerateDestroy (
219
+ [ 'component-test' , 'foo' , '--strict' , '--typescript' ] ,
220
+ ( _file ) => {
221
+ expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
222
+ fixture ( 'component-test/rfc232.gts' , {
223
+ replace : {
224
+ modulePrefix : 'dummy' ,
225
+ } ,
226
+ } )
227
+ ) ;
228
+ }
229
+ ) ;
222
230
} ) ;
223
231
} ) ;
224
232
} ) ;
0 commit comments