'use strict';
/* global describe, it */
let assert = require('assert');
let Cycle = require('../../src/cycle');

describe('Cycle', function () {
  describe('API', function () {
    it('should have `applyToDOM`', function () {
      assert.strictEqual(typeof Cycle.applyToDOM, 'function');
    });

    it('should have `renderAsHTML`', function () {
      assert.strictEqual(typeof Cycle.renderAsHTML, 'function');
    });

    it('should have `registerCustomElement`', function () {
      assert.strictEqual(typeof Cycle.registerCustomElement, 'function');
    });

    it('should have a shortcut to Rx', function () {
      assert.strictEqual(typeof Cycle.Rx, 'object');
    });

    it('should have a shortcut to virtual-hyperscript', function () {
      assert.strictEqual(typeof Cycle.h, 'function');
    });
  });
});

@@ -805,16 +805,150 @@
 %0A    %7D);
+%0A%0A    it('should have a shortcut to virtual-dom%5C's svg', function () %7B%0A      assert.strictEqual(typeof Cycle.svg, 'function');%0A    %7D);
 %0A  %7D);%0A%7D

Add test case for svg() (like h() is)