◐ Shell
clean mode source ↗

test: use strict mode in global setters test · nodejs/node@11b82de

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,10 @@

1-

/* eslint-disable strict */

1+

// When setters and getters were added for global.process and global.Buffer to

2+

// create a deprecation path for them in ESM, this test was added to make sure

3+

// the setters and getters behaved as expected.

4+

// Ref: https://github.com/nodejs/node/pull/26882

5+

// Ref: https://github.com/nodejs/node/pull/26334

6+
7+

'use strict';

28

require('../common');

39

const assert = require('assert');

410

const _process = require('process');