@@ -32,7 +32,7 @@ QUnit.module('buildVersion', () => {
3232 ] ,
3333 padEmptyArgs ( 3 , [ null , '' ] )
3434 ) . forEach ( ( { args, expected } ) => {
35- QUnit . test ( JSON . stringify ( args ) , ( assert ) => {
35+ QUnit . test ( JSON . stringify ( args ) , function ( assert ) {
3636 assert . equal ( buildVersion ( ...args ) , expected ) ;
3737 } ) ;
3838 } ) ;
@@ -49,12 +49,12 @@ QUnit.module('parseTagVersion', () => {
4949 expected : '3.1.1-beta.2' ,
5050 } ,
5151 ] . forEach ( ( { tag, expected } ) => {
52- QUnit . test ( JSON . stringify ( tag ) , ( assert ) => {
52+ QUnit . test ( JSON . stringify ( tag ) , function ( assert ) {
5353 assert . equal ( parseTagVersion ( tag ) , expected ) ;
5454 } ) ;
5555 } ) ;
5656
57- QUnit . test ( 'parseTagVersion raises on non-semver tags' , ( assert ) => {
57+ QUnit . test ( 'parseTagVersion raises on non-semver tags' , function ( assert ) {
5858 assert . throws ( ( ) => {
5959 parseTagVersion ( 'some-non-version-tag' ) ;
6060 } ) ;
@@ -127,7 +127,7 @@ QUnit.module('buildFromParts', () => {
127127 } ,
128128 } ,
129129 ] . forEach ( ( { args, expected } ) => {
130- QUnit . test ( JSON . stringify ( args ) , ( assert ) => {
130+ QUnit . test ( JSON . stringify ( args ) , function ( assert ) {
131131 assert . deepEqual ( buildFromParts ( ...args ) , expected ) ;
132132 } ) ;
133133 } ) ;
0 commit comments