import { silenceDebugMessages } from '../helpers/setup'
import { JSDOM } from 'jsdom'
import { create } from '../../src/create'

silenceDebugMessages()
const dom = new JSDOM('<!DOCTYPE html><p>Hello world</p>').window.document
const div = dom.createElement('div')

describe('newThingUI', () => {
  it('exists', () => {
    expect(create.newThingUI).toBeInstanceOf(Function)
  })
  it('runs', () => {
    expect(create.newThingUI({ dom, div }, { dom }, {})).toEqual(undefined)
  })
})
