@@ -13,8 +13,6 @@ module('Integration | Modifier | did-insert', function (hooks) {
1313 setupRenderingTest ( hooks ) ;
1414
1515 test ( 'it basically works' , async function ( assert ) {
16- assert . expect ( 2 ) ;
17-
1816 this . someMethod = ( element ) => {
1917 assert . strictEqual ( element . tagName , 'DIV' , 'correct element tagName' ) ;
2018 assert . dom ( element ) . hasAttribute ( 'data-foo' , 'some-thing' ) ;
@@ -25,8 +23,6 @@ module('Integration | Modifier | did-insert', function (hooks) {
2523 } ) ;
2624
2725 test ( 'it can accept arguments' , async function ( assert ) {
28- assert . expect ( 4 ) ;
29-
3026 this . someMethod = ( element , positional , named ) => {
3127 assert . strictEqual ( element . tagName , 'DIV' , 'correct element tagName' ) ;
3228 assert . dom ( element ) . hasAttribute ( 'data-foo' , 'some-thing' ) ;
@@ -45,8 +41,6 @@ module('Integration | Modifier | did-insert', function (hooks) {
4541 } ) ;
4642
4743 test ( 'it is not invoked again when arguments change' , async function ( assert ) {
48- assert . expect ( 4 ) ;
49-
5044 this . someMethod = ( element , positional , named ) => {
5145 assert . strictEqual ( element . tagName , 'DIV' , 'correct element tagName' ) ;
5246 assert . dom ( element ) . hasAttribute ( 'data-foo' , 'some-thing' ) ;
0 commit comments