Skip to content

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goatslacker committed Jun 3, 2015
1 parent 5454bdd commit 114575d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/es3-module-pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {

'store method exists'() {
const storePrototype = Object.getPrototypeOf(myStore)
const assertMethods = ['constructor', 'emitChange', 'listen', 'unlisten', 'getState']
const assertMethods = ['constructor', 'listen', 'unlisten', 'getState']
assert.deepEqual(Object.getOwnPropertyNames(storePrototype), assertMethods, 'methods exist for store')
assert.isUndefined(myStore.addListener, 'event emitter methods not present')
assert.isUndefined(myStore.removeListener, 'event emitter methods not present')
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ const tests = {

'store methods'() {
const storePrototype = Object.getPrototypeOf(myStore)
const assertMethods = ['constructor', 'emitChange', 'listen', 'unlisten', 'getState']
const assertMethods = ['constructor', 'listen', 'unlisten', 'getState']
assert.deepEqual(Object.getOwnPropertyNames(storePrototype), assertMethods, 'methods exist for store')
assert.isUndefined(myStore.addListener, 'event emitter methods not present')
assert.isUndefined(myStore.removeListener, 'event emitter methods not present')
Expand Down

0 comments on commit 114575d

Please sign in to comment.