Skip to content

Commit

Permalink
Activate explicitly Http Typekit augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joheredi committed Jan 24, 2025
1 parent 5b6659d commit f6ca5ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { BasicTestRunner } from "@typespec/compiler/testing";
import { beforeEach, describe, expect, it } from "vitest";
import { createHttpTestRunner } from "./../../test-host.js";

// Activate Http TypeKit augmentation
import "../../../src/experimental/typekit/index.js";

let runner: BasicTestRunner;

beforeEach(async () => {
Expand Down
3 changes: 3 additions & 0 deletions packages/http/test/experimental/typekit/http-request.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { BasicTestRunner } from "@typespec/compiler/testing";
import { beforeEach, describe, expect, it } from "vitest";
import { createHttpTestRunner } from "./../../test-host.js";

// Activate Http TypeKit augmentation
import "../../../src/experimental/typekit/index.js";

let runner: BasicTestRunner;

beforeEach(async () => {
Expand Down
3 changes: 3 additions & 0 deletions packages/http/test/experimental/typekit/http-response.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { BasicTestRunner } from "@typespec/compiler/testing";
import { beforeEach, expect, it } from "vitest";
import { createHttpTestRunner } from "./../../test-host.js";

// Activate Http TypeKit augmentation
import "../../../src/experimental/typekit/index.js";

let runner: BasicTestRunner;

beforeEach(async () => {
Expand Down

0 comments on commit f6ca5ec

Please sign in to comment.