UNPKG

@yeutech-lab/rollup-umd-documentation

Version:

Quickly build awesome documentation for your rollup-umd project.

18 lines (15 loc) 757 B
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _index = require('../index'); describe('makeTheme', function () { it('should have theme defined', function () { expect((0, _index.makeTheme)()).toBeDefined(); }); it('should create scope', function () { var customTheme = { '$nav-styleguide-height': '100%' }; expect(_typeof((0, _index.makeTheme)(customTheme).navigationStyleguide)).toBeDefined(); expect(_typeof((0, _index.makeTheme)(customTheme).styleguide)).toBeDefined(); }); });