///
import * as Enzyme from "enzyme";
import * as EnzymeAdapter from "enzyme-adapter-react-16";
import { JSDOM } from "jsdom";
import * as React from "react";
import { InlineMath } from "react-katex";
import * as tape from "tape";
import {
Choice,
Description,
Explanation,
InputPrompt,
InputType,
MultipleChoicePrompt,
Question,
Quiz,
TrueFalsePrompt
} from "./";
const dom = new JSDOM("
");
(global as any).document = dom.window.document;
(global as any).window = dom.window;
Enzyme.configure({ adapter: new EnzymeAdapter() });
tape("Quiz", (assert: tape.Test) => {
const component = (
Each Question is very important!
More information
(
<>
Fill in the{" "}
{}
>
)}
/>
It is a fill in the blank question that says fill in the _____
(
<>
{" "}
{
}
{}
>
)}
/>
Is the square root of 2 a real number?
Yes, google it
,
,
]}
>
Which of the following formulas gives the geometric mean of a series
of numbers?