Skip to content

Instantly share code, notes, and snippets.

View xalakox's full-sized avatar
🗺️
Working from anywhere

Salvador Aceves Osuna xalakox

🗺️
Working from anywhere
View GitHub Profile
### Keybase proof
I hereby claim:
* I am xalakox on github.
* I am xalakox (https://keybase.io/xalakox) on keybase.
* I have a public key ASCRbSiHwJ6Mr6gHbg7Pji1a6AEn6ZcI4raErwtL7leFlAo
To claim this, I am signing this object:
const { equals } = require('expect/build/jasmineUtils');
expect.extend({
toContainObject(received, argument) {
const pass = (() => {
if (Array.isArray(argument)) {
return equals(received,
expect.arrayContaining(argument.map(arg => expect.objectContaining(arg)))
);
}