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 cdad3d8 commit 40d821eCopy full SHA for 40d821e
1 file changed
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 proiority = os.getPriority()
87
+is.number(proiority)
88
+assert.ok(proiority === DUMMY_PRIORITY)
89
+
90
// On IBMi, os.uptime() returns 'undefined'
91
if (!common.isIBMi) {
92
const uptime = os.uptime();
0 commit comments