Skip to content

Instantly share code, notes, and snippets.

@galderz
Created February 23, 2016 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save galderz/65ed0b2a4e02b8f4e0c1 to your computer and use it in GitHub Desktop.
Save galderz/65ed0b2a4e02b8f4e0c1 to your computer and use it in GitHub Desktop.
client.stats().then(function(beforeStats) {
return client.put('k', 'v').then(function() {
return client.stats().then(function(afterStats) {
expect(afterStats.stores).toBe(beforeStats.stores + 1);
})
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment