{"version":3,"sources":["lib/styleGuide/spec/styleGuideSpec.ts"],"names":[],"mappings":"","file":"../../../../lib/styleGuide/spec/styleGuideSpec.d.ts","sourcesContent":["import { sleep } from '../../../common/mutexHelper.js';\nimport { singleton as styleHelper } from '../styleGuide.js';\n\ndescribe('the styleGuide singleton', () => {\n  it('sets up a container for little-element styles in the header', (done) => {\n    // Give browser chance to render\n    sleep(20).then(() => {\n      expect(!!document.head.querySelector('div#lw-style-guide')).toBe(true);\n      done();\n    });\n  });\n  it('adds the base and component styles to the page', (done) => {\n    // Give browser chance to render\n    sleep(20).then(\n      () => {\n        const numNodes = document.head.querySelector('div#lw-style-guide').children.length;\n        expect(numNodes).toBeGreaterThanOrEqual(\n          // eslint-disable-next-line\n          styleHelper.baseCss.length + styleHelper.componentCss.length + styleHelper.appCss.length,\n        );\n        done();\n      },\n    );\n  });\n});\n"]}