Skip to content

Commit

Permalink
Merge branch 'master' into #29-open-orders
Browse files Browse the repository at this point in the history
Conflicts:
	test/assertions/market.js
  • Loading branch information
priecint committed Jul 26, 2016
2 parents 6599c87 + 6c2d8ad commit 5889411
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/selectors-test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import selectors from '../src/selectors';
import assertions from '../src/assertions';

Object.defineProperty(selectors, 'render', {
value: () => console.log('fake render'),
enumerable: false
});

Object.keys(selectors).forEach(selectorKey => {
console.log('-->', selectorKey);
if (typeof assertions[selectorKey] !== 'function') {
throw new Error(`missing assertion ${selectorKey}`)
}
assertions[selectorKey](selectors[selectorKey]);
});
});

0 comments on commit 5889411

Please sign in to comment.