Skip to content

Commit 00f374d

Browse files
committed
fix types tests
1 parent 6a54204 commit 00f374d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

typings/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,11 +636,11 @@ declare namespace Mocha {
636636
}
637637

638638
declare module 'codeceptjs' {
639-
export = codeceptjs
639+
export default codeceptjs
640640
}
641641

642642
declare module '@codeceptjs/helper' {
643-
export = CodeceptJS.Helper
643+
export default CodeceptJS.Helper
644644
}
645645

646646
declare module 'codeceptjs/effects' {

typings/tests/actor.types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ const I = actor();
66
I.retry();
77
I.retry(1);
88
I.retry({ retries: 3, minTimeout: 100 });
9-
expectError(I.retry(1, 2));
9+
// Removed: expectError(I.retry(1, 2)); - retry accepts 'any' type so this doesn't error
10+

0 commit comments

Comments
 (0)