Skip to content

Instantly share code, notes, and snippets.

@griffinmyers
Created June 26, 2017 23:09
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 griffinmyers/c75c1c4b507aa4d273a299ed5322d78b to your computer and use it in GitHub Desktop.
Save griffinmyers/c75c1c4b507aa4d273a299ed5322d78b to your computer and use it in GitHub Desktop.
describe('visual-diff', function() {
it('renders a Button', function(done) {
var button = new Button({
title: 'Everythings OK Alarm',
subtitle: 'The alarm will make a sound every three seconds',
cost: '$$$$',
cta: 'Order now',
image: '/base/test/assets/homer.jpg'
});
button.render();
window.renderScreen('button-with-long-subtitle', done);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment