Skip to content

test: fix test-memory-usage.js for IBMi

Rodrigo Muino Tomonari requested to merge github/fork/Trott/rss-test into master

Newly added process.memoryUsage.rss() will presumably return 0 on IBMi the same way process.memoryUsage().rss does. Allow IBMi to skip the new assertion.

The test was using a mix of assert() and assert.ok(). This change makes it consistently use assert.ok().

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading