microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
4b0eb8ea94e5a39b8f80d1797aed02ae6c11a07b

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

12lines · modecode

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