diff options
author | cjihrig <cjihrig@gmail.com> | 2019-07-01 10:38:08 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-07-03 10:54:07 -0400 |
commit | 492037ab801391b0a86d1cc1204a5f14d5b74641 (patch) | |
tree | 0d32871093024c031fb7662b197efed5cf875404 /src/api | |
parent | fcf8fe9f1a556758eb9faf86bf74de2ddda805c8 (diff) | |
download | android-node-v8-492037ab801391b0a86d1cc1204a5f14d5b74641.tar.gz android-node-v8-492037ab801391b0a86d1cc1204a5f14d5b74641.tar.bz2 android-node-v8-492037ab801391b0a86d1cc1204a5f14d5b74641.zip |
test: increase test-resource-usage.js validation
This commit adds an assertion checking the exact field names
returned by process.resourceUsage(). This ensures that no new
fields accidentally slip into the returned object in the future.
PR-URL: https://github.com/nodejs/node/pull/28498
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/api')
0 files changed, 0 insertions, 0 deletions