mirror of
https://github.com/arnaucube/raspberryGPIOhtmlserver.git
synced 2026-02-08 04:06:43 +01:00
servidor funciona, gpio desabilitat
This commit is contained in:
22
node_modules/global/test/test.js
generated
vendored
Executable file
22
node_modules/global/test/test.js
generated
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
var assert = require('assert');
|
||||
var global;
|
||||
|
||||
try {
|
||||
// component
|
||||
global = require('global');
|
||||
} catch (e) {
|
||||
// node.js
|
||||
global = require('../');
|
||||
}
|
||||
|
||||
describe('global', function () {
|
||||
it('should return the `global` object', function () {
|
||||
var str = String(global);
|
||||
assert('[object global]' == str || '[object Window]' == str);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user