microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-html-program-viewer-crash

Branches

Tags

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

Clone

HTTPS

Download ZIP

packages/events/test/test-host.ts

8lines · modecode

1import { resolvePath } from "@typespec/compiler";
2import { createTester } from "@typespec/compiler/testing";
3
4export const Tester = createTester(resolvePath(import.meta.dirname, ".."), {
5 libraries: ["@typespec/events"],
6})
7 .importLibraries()
8 .using("Events");
9