mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 14:25:32 +01:00
* Added rudimentary test matchers for `toEqualArrayUnsorted` and `toHaveTypes` Might port the rest at a later date * Actually run the effing setup matchers file + fixed ls lint to not be angy * added dev dep * Update .ls-lint.yml * Update .ls-lint.yml --------- Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
import { toEqualArrayUnsorted } from "#test/test-utils/matchers/to-equal-array-unsorted";
|
|
import { toHaveTypes } from "#test/test-utils/matchers/to-have-types";
|
|
import { expect } from "vitest";
|
|
|
|
/**
|
|
* @module
|
|
* Setup file for custom matchers.
|
|
* Make sure to define the call signatures in `test/@types/vitest.d.ts` too!
|
|
*/
|
|
|
|
expect.extend({
|
|
toEqualArrayUnsorted,
|
|
toHaveTypes,
|
|
});
|