mirror of
https://github.com/hoppscotch/hoppscotch
synced 2024-11-21 14:38:47 +00:00
22c6eabd13
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
16 lines
687 B
TypeScript
16 lines
687 B
TypeScript
// Vitest doesn't work without globals
|
|
// Ref: https://github.com/relmify/jest-fp-ts/issues/11
|
|
|
|
import decodeMatchers from "@relmify/jest-fp-ts/dist/decodeMatchers"
|
|
import eitherMatchers from "@relmify/jest-fp-ts/dist/eitherMatchers"
|
|
import optionMatchers from "@relmify/jest-fp-ts/dist/optionMatchers"
|
|
import theseMatchers from "@relmify/jest-fp-ts/dist/theseMatchers"
|
|
import eitherOrTheseMatchers from "@relmify/jest-fp-ts/dist/eitherOrTheseMatchers"
|
|
import { expect } from "vitest"
|
|
|
|
expect.extend(decodeMatchers.matchers)
|
|
expect.extend(eitherMatchers.matchers)
|
|
expect.extend(optionMatchers.matchers)
|
|
expect.extend(theseMatchers.matchers)
|
|
expect.extend(eitherOrTheseMatchers.matchers)
|