|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
431 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | import type { Assertion, AsymmetricMatchersContaining } from 'vitest'
|
|---|
| 2 |
|
|---|
| 3 | interface CustomMatchers<R = unknown> {
|
|---|
| 4 | toMatchSequence(...matchers: Array<(arg: any) => boolean>): R
|
|---|
| 5 | }
|
|---|
| 6 |
|
|---|
| 7 | declare module 'vitest' {
|
|---|
| 8 | interface Assertion<T = any> extends CustomMatchers<T> {}
|
|---|
| 9 | interface AsymmetricMatchersContaining extends CustomMatchers {}
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | declare global {
|
|---|
| 13 | namespace jest {
|
|---|
| 14 | interface Matchers<R> extends CustomMatchers<R> {}
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.