Sha256: 8183732a8bd306d97754c7dcaa9d12f7ece8ccfdbf7ede18973da0d90ef9f5ca
Contents?: true
Size: 382 Bytes
Versions: 88
Compression:
Stored size: 382 Bytes
Contents
/** * 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); }); });
Version data entries
88 entries across 88 versions & 2 rubygems