describe('Nested', function() { afterEach(function() { draw.clear() }) describe('()', function() { it('creates a nested svg of type SVG.Nested', function() { expect(draw.nested() instanceof SVG.Nested).toBeTruthy() }) }) })