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' );
if ( typeof Symbol === 'function' && typeof Symbol () === 'symbol' ) {
test ( 'has native Symbol support' , function ( t ) {
t . equal ( typeof Symbol , 'function' );
t . equal ( typeof Symbol (), 'symbol' );
t . end ();
});
return ;
}
var hasSymbols = require ( '../../shams' );
test ( 'polyfilled Symbols' , function ( t ) {
/* eslint-disable global-require */
t . equal ( hasSymbols (), false , 'hasSymbols is false before polyfilling' );
require ( 'core-js/fn/symbol' );
require ( 'core-js/fn/symbol/to-string-tag' );
require ( '../tests' )( t );
var hasSymbolsAfter = hasSymbols ();
t . equal ( hasSymbolsAfter , true , 'hasSymbols is true after polyfilling' );
/* eslint-enable global-require */
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