Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nessup's full-sized avatar

Danny Friday nessup

View GitHub Profile
### Keybase proof
I hereby claim:
* I am nessup on github.
* I am nessup (https://keybase.io/nessup) on keybase.
* I have a public key ASCKNdmzkv31EwKTBmmGV21nINb3YwgFbdfQfU8XBo1QGQo
To claim this, I am signing this object:
@nessup
nessup / fix.js
Created March 6, 2019 19:33
Fixed expectation in TDD tutorial
waitForDomChange({ container })
.then(() => {
// Assert
expect(props.createComment).toHaveBeenCalledTimes(1)
expect(props.createComment).toHaveBeenCalledWith(newComment)
})
var Joi = require('joi');
/*
* Test listings
*/
let listings = [
{
'id':4522,
'listing_price_cents':33700000,
<!doctype html>
<head>
<!-- ... -->
<script src="bower_components/x-gif/dist/platform.js"></script>
<!-- ... -->
</head>
<body>
<!-- ... -->
<!-- build:js scripts/main.js -->
<script data-main="scripts/main" src="bower_components/requirejs/require.js"></script>