13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
import { describe, it, expect } from "vitest";
|
|
import React from "react";
|
|
|
|
function Thing() {
|
|
return <div>ok</div>;
|
|
}
|
|
|
|
describe("jsx in .js", () => {
|
|
it("parses", () => {
|
|
expect(Thing).toBeTypeOf("function");
|
|
});
|
|
});
|