@@ -39,7 +39,7 @@ const hasIntl = !!process.config.variables.v8_enable_i18n_support;
3939
4040const {
4141 atob,
42- btoa
42+ btoa,
4343} = require ( 'buffer' ) ;
4444
4545// Some tests assume a umask of 0o022 so set that up front. Tests that need a
@@ -98,7 +98,7 @@ if (process.argv.length === 2 &&
9898console . log (
9999'NOTE: The test started as a child_process using these flags:' ,
100100inspect ( flags ) ,
101- 'Use NODE_SKIP_FLAG_CHECK to run the test with the original flags.'
101+ 'Use NODE_SKIP_FLAG_CHECK to run the test with the original flags.' ,
102102) ;
103103const args = [ ...flags , ...process . execArgv , ...process . argv . slice ( 1 ) ] ;
104104const options = { encoding : 'utf8' , stdio : 'inherit' } ;
@@ -175,7 +175,7 @@ if (process.env.NODE_TEST_WITH_ASYNC_HOOKS){
175175}
176176initHandles [ id ] = {
177177 resource,
178- stack : inspect ( new Error ( ) ) . substr ( 6 )
178+ stack : inspect ( new Error ( ) ) . substr ( 6 ) ,
179179} ;
180180} ,
181181before ( ) { } ,
@@ -435,7 +435,7 @@ function _mustCallInner(fn, criteria = 1, field){
435435[ field ] : criteria ,
436436actual : 0 ,
437437stack : inspect ( new Error ( ) ) ,
438- name : fn . name || '<anonymous>'
438+ name : fn . name || '<anonymous>' ,
439439} ;
440440
441441// Add the exit listener only once to avoid listener leak warnings
@@ -478,7 +478,7 @@ function hasMultiLocalhost(){
478478
479479function skipIfEslintMissing ( ) {
480480if ( ! fs . existsSync (
481- path . join ( __dirname , '..' , '..' , 'tools' , 'node_modules' , 'eslint' )
481+ path . join ( __dirname , '..' , '..' , 'tools' , 'node_modules' , 'eslint' ) ,
482482) ) {
483483skip ( 'missing ESLint' ) ;
484484}
@@ -567,7 +567,7 @@ function mustNotMutateObjectDeep(original){
567567} ,
568568setPrototypeOf ( target , prototype ) {
569569assert . fail ( `Expected no side effects, got set prototype to ${ prototype } ` ) ;
570- }
570+ } ,
571571} ;
572572
573573const proxy = new Proxy ( original , _mustNotMutateObjectDeepHandler ) ;
@@ -670,7 +670,7 @@ function expectWarning(nameOrMap, expected, code){
670670if ( ! catchWarning [ warning . name ] ) {
671671throw new TypeError (
672672`"${ warning . name } " was triggered without being expected.\n` +
673- inspect ( warning )
673+ inspect ( warning ) ,
674674) ;
675675}
676676catchWarning [ warning . name ] ( warning ) ;
@@ -1034,5 +1034,5 @@ module.exports = new Proxy(common,{
10341034if ( ! validProperties . has ( prop ) )
10351035throw new Error ( `Using invalid common property: '${ prop } '` ) ;
10361036return obj [ prop ] ;
1037- }
1037+ } ,
10381038} ) ;
0 commit comments