mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
8075d82ecf
* created testing es6 module for global leakage tests * fixed a couple basic errors (vars -> lets, ...) * added globals leakage detection to es module tests * reversed whitespace change * whitespace change reversed PR-URL: https://github.com/nodejs/node/pull/16341 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
// Flags: --experimental-modules
|
|
/* eslint-disable required-modules */
|
|
|
|
import '../common/index';
|
|
import * as fs from 'fs';
|
|
import assert from 'assert';
|
|
|
|
assert.deepStrictEqual(Object.keys(fs), ['default']);
|