- get all the file of this gist in a folder
- download and install latest VirtualBox
- download and install latest Vagrant
- execute
vagrant plugin install vagrant-vbguest
- execute
vagrant up
- execute
vagrant ssh
node -v
// ==UserScript== | |
// @name Gatling report cleanup | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @include https://ci.infradev.loadtest.itv.com* | |
// @grant none | |
// ==/UserScript== |
npm info it worked if it ends with ok | |
npm verb cli [ '/var/lib/jenkins/jobs/edna-integration/workspace/.n/bin/node', | |
npm verb cli '/var/lib/jenkins/jobs/edna-integration/workspace/.n/bin/npm', | |
npm verb cli 'install', | |
npm verb cli '-ddd' ] | |
npm info using npm@5.3.0 | |
npm info using node@v8.3.0 | |
npm verb npm-session 60559b8709efeb95 | |
npm sill install runPreinstallTopLevelLifecycles | |
npm sill preinstall edna-integration@0.0.3 |
vagrant plugin install vagrant-vbguest
vagrant up
vagrant ssh
node -v
var pact = require('@pact-foundation/pact-node'); | |
console.log(pact); |
12:42:30 Started by upstream project "edna-pipeline" build number 22 | |
12:42:30 originally caused by: | |
12:42:30 Started by user anonymous | |
12:42:30 Replayed #21 | |
12:42:30 [EnvInject] - Loading node environment variables. | |
12:42:30 Building on master in workspace /var/lib/jenkins/jobs/edna-integration/workspace | |
12:42:30 > git rev-parse --is-inside-work-tree # timeout=10 | |
12:42:30 Fetching changes from the remote Git repository | |
12:42:30 > git config remote.origin.url git@github.com:ITV/edna-integration.git # timeout=10 | |
12:42:30 Fetching upstream changes from git@github.com:ITV/edna-integration.git |
Wed May 31 14:56:15 UTC 2017 |
A Pen by Romuald Quantin on CodePen.
╰─$ mocha allTests.js --reporter spec --framework=angularjs 26 ↵ | |
TodoMVC - angularjs | |
No Todos | |
✓ should hide #main and #footer (93ms) | |
New Todo | |
1) should allow me to add todo items | |
2) should clear text input field when an item is added | |
3) should append new items to the bottom of the list |
// Code goes here | |
window.widgets = window.widgets || {}; | |
window.widgets.coupons9 = window.widgets.coupon9 || {}; | |
(function(ns, soma) { | |
'use strict'; | |
var CouponsMediator = function(target, dispatcher, dataService, couponsTemplate) { |
var Node = function(data, next) { | |
this.data = data; | |
this.next = next; | |
}; | |
var node1 = new Node('id1', | |
new Node('id2', | |
new Node('id3', | |
new Node('id4') | |
) |