This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))) | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hello | |
OlderNewer