Skip to content

Instantly share code, notes, and snippets.

@freetonik
Created February 3, 2015 13:06
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 freetonik/eece76f72dde8ea4b1d5 to your computer and use it in GitHub Desktop.
Save freetonik/eece76f72dde8ea4b1d5 to your computer and use it in GitHub Desktop.
it("updates stock market table when user configuration changes", function() {
config.setStartingBalance(...);
var expectedTable = <StockMarketTable stockMarketProjection={projectionFor(config)} />;
var actualTable = TestUtils.findRenderedComponentWithType(app, StockMarketTable);
// Но как делать сравнение?
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment