@r4ai/remark-embed
Version:
[](https://jsr.io/@r4ai/remark-embed) [](https://codecov.io/gh/r4ai/remark-embed) [ • 1.24 kB
JavaScript
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();
});
});