We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783f64b commit c19b2a7Copy full SHA for c19b2a7
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