UNPKG

@lume/live-code

Version:

A `<live-code>` element for editable code with live output.

15 lines (11 loc) 272 B
import {LiveCode} from './LiveCode.js' declare global { const expect: any } describe('<live-code>', () => { it('is a custom element', () => { const editor = document.createElement('live-code') expect(editor instanceof LiveCode).toBe(true) }) // ... TODO ... })