I hereby claim:
- I am joelmukuthu on github.
- I am joelmukuthu (https://keybase.io/joelmukuthu) on keybase.
- I have a public key ASAZ3ld1hD4tLEj8uyfQiPYoamLddZMDHyxl_A8O_d7cAgo
To claim this, I am signing this object:
[alias] | |
hist = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset' |
// sinon version 1.17.5 | |
// Github issue: https://github.com/sinonjs/sinon/issues/1119 | |
var sinon = require('sinon'); | |
describe('sinon.test', function () { | |
describe('with a promise', function () { | |
it('does not restore the sandbox until the promise is fulfilled', sinon.test(function () { | |
var sandbox = this; | |
return Promise.resolve() | |
.then(function () { |
var httpception = require('httpception'); | |
var got = require('got'); | |
var assert = require('assert'); | |
describe('the thing', function () { | |
before(function() { | |
httpception({ | |
request: 'GET http://example.com/foobar', | |
response: { | |
headers: { |
import React, { Component } from 'react'; | |
import { createRenderer } from 'react-addons-test-utils'; | |
import unexpected from 'unexpected'; | |
import unexpectedReact from 'unexpected-react'; | |
class Foo extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { |
const { Model, Types: { ObjectId, Document } } = require('mongoose'); | |
module.exports = { | |
name: 'unexpected-mongan', | |
installInto: expect => { | |
expect.use(require('unexpected-set')); | |
expect.addType({ | |
name: 'MongooseModel', | |
identify(val) { |
I hereby claim:
To claim this, I am signing this object: