Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.