Skip to content

Commit

Permalink
Use latest contra emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
goatslacker committed May 5, 2015
1 parent 03be4a2 commit 7686b95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "A flux implementation",
"main": "lib",
"dependencies": {
"contra.emitter": "1.1.0",
"contra.emitter": "1.1.1",
"es-symbol": "1.1.1",
"flux": "2.0.3",
"object-assign": "^2.0.0"
Expand Down
5 changes: 0 additions & 5 deletions test/index.js
Expand Up @@ -949,14 +949,9 @@ const tests = {
},

'emit change method works from the store'(done) {
done()
return
assert(myStore.getState().async === false, 'store async is false')

const listener = () => {
// if (myStore.getState().async === false) {
// throw new Error('wtf')
// }
assert(myStore.getState().async === true, 'store async is true')
myStore.unlisten(listener)
done()
Expand Down

0 comments on commit 7686b95

Please sign in to comment.