Skip to content

Commit

Permalink
fixing jest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon committed May 22, 2024
1 parent 11d5a3d commit 8b802a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
},
"include": [
"**/*"
]
Expand Down
4 changes: 2 additions & 2 deletions test/type-tests/public-types-function-listener-test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expectTypeOf } from 'expect-type';
import { Binding, Listener } from '../../src';
import { expectType, TypeOf } from 'ts-expect';
import type { Binding, Listener } from '../../src';
import { expectType, type TypeOf } from 'ts-expect';

// This is how you can 'teach' TS about your custom event
declare global {
Expand Down
2 changes: 1 addition & 1 deletion test/type-tests/public-types-object-listener-test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expectTypeOf } from 'expect-type';
import type { Binding, Listener } from '../../src';
import { expectType, TypeOf } from 'ts-expect';
import { expectType, type TypeOf } from 'ts-expect';

// extracting event type
{
Expand Down

0 comments on commit 8b802a2

Please sign in to comment.