8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9363179 commit 1a18034Copy full SHA for 1a18034
test/parallel/test-os.js
@@ -81,6 +81,12 @@ const hostname = os.hostname();
81
is.string(hostname);
82
assert.ok(hostname.length > 0);
83
84
+const DUMMY_PRIORITY = 10;
85
+os.setPriority(DUMMY_PRIORITY);
86
+const priority = os.getPriority();
87
+is.number(priority);
88
+assert.strictEqual(priority, DUMMY_PRIORITY);
89
+
90
// On IBMi, os.uptime() returns 'undefined'
91
if (!common.isIBMi) {
92
const uptime = os.uptime();
0 commit comments