Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
fig bugs in login report
Commit Description:
fig bugs in login report
'use strict' ;
var test = require ( 'tape' );
var hasSymbols = require ( '../' );
var runSymbolTests = require ( './tests' );
test ( 'interface' , function ( t ) {
t . equal ( typeof hasSymbols , 'function' , 'is a function' );
t . equal ( typeof hasSymbols (), 'boolean' , 'returns a boolean' );
t . end ();
});
test ( 'Symbols are supported' , { skip : ! hasSymbols () }, function ( t ) {
runSymbolTests ( t );
t . end ();
});
test ( 'Symbols are not supported' , { skip : hasSymbols () }, function ( t ) {
t . equal ( typeof Symbol , 'undefined' , 'global Symbol is undefined' );
t . equal ( typeof Object . getOwnPropertySymbols , 'undefined' , 'Object.getOwnPropertySymbols does not exist' );
t . end ();
});
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings