is-computer-off
Version:
Want to know if your computer is off? This algorithm is proven to always return the correct result.
19 lines (15 loc) • 401 B
JavaScript
/*!
* is-computer-off <https://github.com/JPYamamoto/is-computer-off>
*
* Copyright (c) 2020 Juan Pablo Yamamoto.
* Licensed under the MIT license.
*/
;
require('mocha');
var assert = require('assert');
var isComputerOff = require('./');
describe('isComputerOff', function() {
it('should return false if the computer is on:', function() {
assert(!isComputerOff());
});
});