@@ -35,23 +35,26 @@ describe('Blueprint: component-test', function () {
3535 expect ( _file ( 'tests/integration/components/foo-test.gjs' ) ) . to . equal (
3636 fixture ( 'component-test/rfc232.gjs' , {
3737 replace : {
38- modulePrefix : 'my-app'
39- }
38+ modulePrefix : 'my-app' ,
39+ } ,
4040 } )
4141 ) ;
4242 } ) ;
4343 } ) ;
4444
4545 it ( 'component-test foo --strict --typescript' , function ( ) {
46- return emberGenerateDestroy ( [ 'component-test' , 'foo' , '--strict' , '--typescript' ] , ( _file ) => {
47- expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
48- fixture ( 'component-test/rfc232.gts' , {
49- replace : {
50- modulePrefix : 'my-app'
51- }
52- } )
53- ) ;
54- } ) ;
46+ return emberGenerateDestroy (
47+ [ 'component-test' , 'foo' , '--strict' , '--typescript' ] ,
48+ ( _file ) => {
49+ expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
50+ fixture ( 'component-test/rfc232.gts' , {
51+ replace : {
52+ modulePrefix : 'my-app' ,
53+ } ,
54+ } )
55+ ) ;
56+ }
57+ ) ;
5558 } ) ;
5659 } ) ;
5760
@@ -94,21 +97,26 @@ describe('Blueprint: component-test', function () {
9497 expect ( _file ( 'tests/integration/components/foo-test.gjs' ) ) . to . equal (
9598 fixture ( 'component-test/rfc232.gjs' , {
9699 replace : {
97- modulePrefix : 'dummy'
98- }
100+ modulePrefix : 'dummy' ,
101+ } ,
99102 } )
100103 ) ;
101104 } ) ;
102105 } ) ;
103106
104107 it ( 'component-test foo --strict --typescript' , function ( ) {
105- return emberGenerateDestroy ( [ 'component-test' , 'foo' , '--strict' , '--typescript' ] , ( _file ) => {
106- expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
107- fixture ( 'component-test/rfc232.gts' , { replace : {
108- modulePrefix : 'dummy'
109- } } )
110- ) ;
111- } ) ;
108+ return emberGenerateDestroy (
109+ [ 'component-test' , 'foo' , '--strict' , '--typescript' ] ,
110+ ( _file ) => {
111+ expect ( _file ( 'tests/integration/components/foo-test.gts' ) ) . to . equal (
112+ fixture ( 'component-test/rfc232.gts' , {
113+ replace : {
114+ modulePrefix : 'dummy' ,
115+ } ,
116+ } )
117+ ) ;
118+ }
119+ ) ;
112120 } ) ;
113121 } ) ;
114122 } ) ;
0 commit comments