UNPKG

@r4ai/remark-embed

Version:

[![JSR](https://jsr.io/badges/@r4ai/remark-embed)](https://jsr.io/@r4ai/remark-embed) [![codecov](https://codecov.io/gh/r4ai/remark-embed/graph/badge.svg?token=B9EZXC0PR8)](https://codecov.io/gh/r4ai/remark-embed) [![CI](https://github.com/r4ai/remark-emb

39 lines (38 loc) 1.24 kB
import { describe, expectTypeOf, test } from "vitest"; describe("DeepRequired", () => { test("should not work with primitives", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with nested objects", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with arrays and tuples", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with Map and Set", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with functions", () => { expectTypeOf().toEqualTypeOf(); }); test("should remove undefined from union types", () => { expectTypeOf().toEqualTypeOf(); }); }); describe("DeepReadonly", () => { test("should convert object properties to readonly", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with nested objects", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with arrays and tuples", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with Map and Set", () => { expectTypeOf().toEqualTypeOf(); }); test("should work with functions", () => { expectTypeOf().toEqualTypeOf(); }); });