Showing 4 of 6 total issues
Function PhantomJS
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Mocha.reporters.PhantomJS = function(runner) {
if (!navigator.userAgent.match(/phantomjs/i)) {
return;
}
Function onCallback
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
page.onCallback = function(message){
if (message.name === 'suite start') {
suite = {tests: []};
suite.title = message.title;
Function PhantomReporter
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jasmineRequire.PhantomReporter = function() {
function PhantomReporter(options) {
var stats = {
passes: 0,
fails: 0,
Function PhantomReporter
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PhantomReporter(options) {
var stats = {
passes: 0,
fails: 0,
pending: 0,