We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9ee46 commit f16d5cfCopy full SHA for f16d5cf
test/unit/common/expect.ts
@@ -3,6 +3,15 @@ import {expect} from 'vitest';
3
import type {Id} from 'tinybase';
4
import {Listener} from './types.ts';
5
6
+declare global {
7
+ // eslint-disable-next-line @typescript-eslint/no-namespace
8
+ namespace jest {
9
+ interface Matchers<R> {
10
+ toEqualWithOrder(expected: any): R;
11
+ }
12
13
+}
14
+
15
export const expectChanges = (
16
listener: Listener,
17
id: Id,
0 commit comments