Skip to content

Instantly share code, notes, and snippets.

@djfm
Last active September 18, 2016 13:11
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 djfm/42d9fcbf143326b9b9ea88e1c307f0d0 to your computer and use it in GitHub Desktop.
Save djfm/42d9fcbf143326b9b9ea88e1c307f0d0 to your computer and use it in GitHub Desktop.
storage.makeId('dress')
.then(
a =>
storage.makeId('dress')
.then(
b =>
storage.makeId('dress')
.then(
c => {
a.should.be.lessThan(b);
a.should.be.lessThan(c);
b.should.be.lessThan(c);
}
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment