Skip to content

Instantly share code, notes, and snippets.

@avjpl
avjpl / sandbox-mocha.js
Created April 13, 2017 17:08 — forked from jgable/sandbox-mocha.js
Sinon Sandbox Example
var sinon = require('sinon'),
Widget = require('../../widget');
describe('My widget', function () {
var sandbox;
beforeEach(function () {
// Create a sandbox for the test
sandbox = sinon.sandbox.create();
});
@avjpl
avjpl / app.js
Created December 14, 2016 10:39 — forked from ezekielchentnik/app.js
import express from 'express';
const app = express();
if (IS_DEV) {
require('piping')();
}
//express routes, etc.
export default app;
@avjpl
avjpl / links.md
Created November 21, 2016 20:35 — forked from g0t4/links.md
Starting Point Files for Jenkins2 Getting Started course