mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
fix build breakage on Rhino parser
This commit is contained in:
parent
058cf91392
commit
1c754e98f2
@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
// Rhino can't handle rest parameters
|
||||
if (jasmine.jsParser !== 'rhino') {
|
||||
describe('rest parameters', function() {
|
||||
var docSet = jasmine.getDocSetFromFile('test/fixtures/restparams.js');
|
||||
var setAdmins = docSet.getByLongname('setAdmins')[0];
|
||||
@ -19,3 +21,4 @@ describe('rest parameters', function() {
|
||||
expect(restParam.variable).toBe(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user