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 440c9be commit 926a36aCopy full SHA for 926a36a
typings/jsdoc.conf.js
@@ -9,6 +9,7 @@ module.exports = {
9
'./lib/container.js',
10
'./lib/data/table.js',
11
'./lib/data/dataTableArgument.js',
12
+ './lib/effects.js',
13
'./lib/event.js',
14
'./lib/index.js',
15
'./lib/locator.js',
typings/tests/global-variables.types.ts
@@ -83,3 +83,13 @@ expectType<void>(AfterSuite((args) => {
83
// @ts-ignore
84
expectType<CodeceptJS.I>(args.I)
85
}))
86
+
87
+// @ts-ignore
88
+expectType<Promise<boolean>>(tryTo(() => {
89
+ return true;
90
+}));
91
92
93
+expectType<Promise<boolean>>(tryTo(async () => {
94
+ return false;
95
0 commit comments