Skip to content

Commit

Permalink
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@
"@quilted/graphql": "^3.3.7",
"@quilted/graphql-tools": "^0.2.11",
"@quilted/localize": "^0.2.1",
"@quilted/preact-testing": "^0.1.7",
"@quilted/quilt": "^0.8.1",
"@remote-dom/core": "^1.5.0",
"@remote-dom/preact": "^1.2.0",
10 changes: 9 additions & 1 deletion app/tests/render.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import '@quilted/quilt/testing';
import {expect} from 'vitest';
import {matchers, type CustomMatchers} from '@quilted/preact-testing/matchers';

export {TestRouter} from '@quilted/quilt/navigation/testing';

export * from './render/types.ts';
export {renderApp} from './render/render.tsx';

declare module 'vitest' {
interface Assertion<T = any> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}

expect.extend(matchers);
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00d5363

Please sign in to comment.