microsoft/typespec

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-8106

Branches

Tags

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

Clone

HTTPS

Download ZIP

packages/eslint-plugin-typespec/test/global-setup.ts

9lines · modecode

1import { RuleTester } from "@typescript-eslint/rule-tester";
2import * as vitest from "vitest";
3
4RuleTester.afterAll = vitest.afterAll;
5
6// If you are not using vitest with globals: true (https://vitest.dev/config/#globals):
7RuleTester.it = vitest.it;
8RuleTester.itOnly = vitest.it.only;
9RuleTester.describe = vitest.describe;
10