Skip to content

Instantly share code, notes, and snippets.

@brettjonesdev
Created April 27, 2017 23:31
Show Gist options
  • Save brettjonesdev/df1778cb711a62d6c4fcd3a83a543aa1 to your computer and use it in GitHub Desktop.
Save brettjonesdev/df1778cb711a62d6c4fcd3a83a543aa1 to your computer and use it in GitHub Desktop.
it('should be able to select a TodoModel', () => {
const collection = new TodoCollection();
const listView = new ListView({collection});
const model = new TodoModel();
listView.select(model); // Throws exception - App is not defined!
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment