import { validateMMLDocument } from "../../src";

test("<m-prompt>", () => {
  const validationErrors = validateMMLDocument(`
<m-prompt
  id="my-prompt"
  class="some-prompt-class" 
  x="1.1" 
  y="2.2" 
  z="3.3" 
  rx="45.45" 
  ry="90.90" 
  rz="135.135" 
  sx="1.1" 
  sy="2.2" 
  sz="3.3"
  message="Some Message"
  placeholder="Some Placeholder"
  prefill="Some Prefill"
  onprompt="doSomething(event.detail);"
></m-prompt>
`);
  expect(validationErrors).toBeNull();
});
