microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
ce9c567e5bfb441bb6415699a6b6fa797bc08f2e

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/json-schema/test/interfaces.test.ts

13lines · modecode

1import { deepStrictEqual } from "assert";
2import { describe, it } from "vitest";
3import { emitSchema } from "./utils.js";
4
5describe("jsonschema: interfaces", () => {
6 it("emit nothing", async () => {
7 const schemas = await emitSchema(`
8 interface Foo {}
9 `);
10
11 deepStrictEqual(schemas, {});
12 });
13});
14