Last active
September 23, 2016 08:55
-
-
Save sroccaserra/fb985adba6569898e53ab960a2ef6176 to your computer and use it in GitHub Desktop.
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
| storage.makeId('dress') | |
| .then(a => storage.makeId('dress').then(b => [a, b])) | |
| .then(([a, b]) => storage.makeId('dress').then(c => [a, b, c])) | |
| .then(([a, b, 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