import { root } from './util';

const { HTMLElement } = root;

export function withRaw (Base = HTMLElement) {
  return class extends Base {
    static is = null
    static observedAttributes = []
    attributeChangedCallback () {}
    connectedCallback () {}
    disconnectedCallback () {}
  };
}

import { root } from './util';

const { HTMLElement = class {} } = root;

export function withRaw (Base = HTMLElement) {
  return class extends Base {
    static is = null
    static observedAttributes = []
    attributeChangedCallback () {}
    connectedCallback () {}
    disconnectedCallback () {}
  };
}

Fix broken node test by ensuring a default for HTMLElement.
test: Fix broken node test by ensuring a default for HTMLElement.
