Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
const circle ='circle');
function transition(radius, duration) {
.attr('r', radius);
describe('#transition', () => {
it('correctly transitions circle radius', () => {
transition(50, 1000);
assert.strictEqual(circle.attr('r'), '50');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment