Files
reacord/packages/helpers/omit.test.ts
2023-08-16 19:32:28 -05:00

8 lines
188 B
TypeScript

import { expect, test } from "vitest"
import { omit } from "./omit.ts"
test("omit", () => {
const subject = { a: 1, b: true }
expect(omit(subject, ["a"])).toStrictEqual({ b: true })
})