Sha256: 2e17f00df2d2f9be4229bb749953a64af7cb039a17afcf90ff1c4cfbfee8ff95

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

(function() {
  var url = phantom.args[0];
  var page = require('webpage').create();

  page.onCallback = function(data) {
    if(data.state === 'specDone') {
      console.log('jasmine_result' + JSON.stringify([].concat(data.results)));
    } else {
      phantom.exit(0);
    }
  };

  page.open(url, function(status) {
    if (status !== "success") {
      phantom.exit(1);
    }
  });
}).call(this);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jasmine-2.0.2 lib/jasmine/runners/phantom_jasmine_run.js
jasmine-2.0.1 lib/jasmine/runners/phantom_jasmine_run.js