@@ -59,6 +59,10 @@ describe('ColocatedTemplateCompiler', function() {
5959 } ,
6060 } ,
6161 } ) ;
62+
63+ await output . build ( ) ;
64+
65+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
6266 } ) ;
6367
6468 it ( 'works for component with template and class' , async function ( ) {
@@ -103,6 +107,10 @@ describe('ColocatedTemplateCompiler', function() {
103107 } ,
104108 } ,
105109 } ) ;
110+
111+ await output . build ( ) ;
112+
113+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
106114 } ) ;
107115
108116 it ( 'works for typescript component class with template' , async function ( ) {
@@ -147,6 +155,10 @@ describe('ColocatedTemplateCompiler', function() {
147155 } ,
148156 } ,
149157 } ) ;
158+
159+ await output . build ( ) ;
160+
161+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
150162 } ) ;
151163
152164 it ( 'works for coffeescript component class with template' , async function ( ) {
@@ -189,6 +201,10 @@ describe('ColocatedTemplateCompiler', function() {
189201 } ,
190202 } ,
191203 } ) ;
204+
205+ await output . build ( ) ;
206+
207+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
192208 } ) ;
193209
194210 it ( 'works for scoped addon using template only component' , async function ( ) {
@@ -232,6 +248,10 @@ describe('ColocatedTemplateCompiler', function() {
232248 } ,
233249 } ,
234250 } ) ;
251+
252+ await output . build ( ) ;
253+
254+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
235255 } ) ;
236256
237257 it ( 'works for scoped addon using component with template and class' , async function ( ) {
@@ -280,6 +300,10 @@ describe('ColocatedTemplateCompiler', function() {
280300 } ,
281301 } ,
282302 } ) ;
303+
304+ await output . build ( ) ;
305+
306+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
283307 } ) ;
284308
285309 it ( 'does nothing for "classic" location components' , async function ( ) {
@@ -311,6 +335,10 @@ describe('ColocatedTemplateCompiler', function() {
311335 await output . build ( ) ;
312336
313337 assert . deepStrictEqual ( output . read ( ) , input . read ( ) ) ;
338+
339+ await output . build ( ) ;
340+
341+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
314342 } ) ;
315343
316344 it ( 'does nothing for "pod" location templates' , async function ( ) {
@@ -334,6 +362,10 @@ describe('ColocatedTemplateCompiler', function() {
334362 await output . build ( ) ;
335363
336364 assert . deepStrictEqual ( output . read ( ) , input . read ( ) ) ;
365+
366+ await output . build ( ) ;
367+
368+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
337369 } ) ;
338370
339371 it ( 'it works if there are no input files' , async function ( ) {
@@ -349,6 +381,10 @@ describe('ColocatedTemplateCompiler', function() {
349381 await output . build ( ) ;
350382
351383 assert . deepStrictEqual ( output . read ( ) , { } ) ;
384+
385+ await output . build ( ) ;
386+
387+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
352388 } ) ;
353389
354390 it ( 'it works if input is manually using setComponentTemplate - no colocated template exists' , async function ( ) {
@@ -396,6 +432,10 @@ describe('ColocatedTemplateCompiler', function() {
396432 } ,
397433 } ,
398434 } ) ;
435+
436+ await output . build ( ) ;
437+
438+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
399439 } ) ;
400440
401441 it ( 'emits an error when a default export is not present in a component JS file' , async function ( ) {
@@ -428,6 +468,10 @@ describe('ColocatedTemplateCompiler', function() {
428468 } ,
429469 } ,
430470 } ) ;
471+
472+ await output . build ( ) ;
473+
474+ assert . deepStrictEqual ( output . changes ( ) , { } , 'NOOP update has no changes' ) ;
431475 } ) ;
432476
433477 it ( 'does not break class decorator usage' ) ;
0 commit comments