@@ -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 &&
9898 console . log (
9999 'NOTE: The test started as a child_process using these flags:' ,
100100 inspect ( 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 ) ;
103103 const args = [ ...flags , ...process . execArgv , ...process . argv . slice ( 1 ) ] ;
104104 const options = { encoding : 'utf8' , stdio : 'inherit' } ;
@@ -175,7 +175,7 @@ if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) {
175175 }
176176 initHandles [ id ] = {
177177 resource,
178- stack : inspect ( new Error ( ) ) . substr ( 6 )
178+ stack : inspect ( new Error ( ) ) . substr ( 6 ) ,
179179 } ;
180180 } ,
181181 before ( ) { } ,
@@ -433,7 +433,7 @@ function _mustCallInner(fn, criteria = 1, field) {
433433 [ field ] : criteria ,
434434 actual : 0 ,
435435 stack : inspect ( new Error ( ) ) ,
436- name : fn . name || '<anonymous>'
436+ name : fn . name || '<anonymous>' ,
437437 } ;
438438
439439 // Add the exit listener only once to avoid listener leak warnings
@@ -476,7 +476,7 @@ function hasMultiLocalhost() {
476476
477477function skipIfEslintMissing ( ) {
478478 if ( ! fs . existsSync (
479- path . join ( __dirname , '..' , '..' , 'tools' , 'node_modules' , 'eslint' )
479+ path . join ( __dirname , '..' , '..' , 'tools' , 'node_modules' , 'eslint' ) ,
480480 ) ) {
481481 skip ( 'missing ESLint' ) ;
482482 }
@@ -565,7 +565,7 @@ function mustNotMutateObjectDeep(original) {
565565 } ,
566566 setPrototypeOf ( target , prototype ) {
567567 assert . fail ( `Expected no side effects, got set prototype to ${ prototype } ` ) ;
568- }
568+ } ,
569569 } ;
570570
571571 const proxy = new Proxy ( original , _mustNotMutateObjectDeepHandler ) ;
@@ -668,7 +668,7 @@ function expectWarning(nameOrMap, expected, code) {
668668 if ( ! catchWarning [ warning . name ] ) {
669669 throw new TypeError (
670670 `"${ warning . name } " was triggered without being expected.\n` +
671- inspect ( warning )
671+ inspect ( warning ) ,
672672 ) ;
673673 }
674674 catchWarning [ warning . name ] ( warning ) ;
@@ -1032,5 +1032,5 @@ module.exports = new Proxy(common, {
10321032 if ( ! validProperties . has ( prop ) )
10331033 throw new Error ( `Using invalid common property: '${ prop } '` ) ;
10341034 return obj [ prop ] ;
1035- }
1035+ } ,
10361036} ) ;
0 commit comments