mirror of
https://github.com/nodejs/node.git
synced 2025-05-07 09:52:26 +00:00

This enables the eslint dot-notation rule for all code instead of only in /lib. PR-URL: https://github.com/nodejs/node/pull/18749 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com>
14 lines
259 B
JavaScript
14 lines
259 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
const fs = require('fs');
|
|
|
|
const files = [];
|
|
|
|
while (files.length < 256)
|
|
files.push(fs.openSync(__filename, 'r'));
|
|
|
|
const r = process.memoryUsage();
|
|
assert.strictEqual(true, r.rss > 0);
|