fca-shadow 0.0.1-security → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fca-shadow might be problematic. Click here for more details.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.cache/typescript/5.0/node_modules/.package-lock.json +372 -0
- package/.cache/typescript/5.0/node_modules/@types/aes-js/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/aes-js/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/aes-js/index.d.ts +129 -0
- package/.cache/typescript/5.0/node_modules/@types/aes-js/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/assert/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/assert/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/assert/index.d.ts +106 -0
- package/.cache/typescript/5.0/node_modules/@types/assert/package.json +35 -0
- package/.cache/typescript/5.0/node_modules/@types/better-sqlite3/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/better-sqlite3/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/better-sqlite3/index.d.ts +151 -0
- package/.cache/typescript/5.0/node_modules/@types/better-sqlite3/package.json +57 -0
- package/.cache/typescript/5.0/node_modules/@types/bluebird/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/bluebird/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/bluebird/index.d.ts +1365 -0
- package/.cache/typescript/5.0/node_modules/@types/bluebird/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/index.d.ts +95 -0
- package/.cache/typescript/5.0/node_modules/@types/body-parser/package.json +58 -0
- package/.cache/typescript/5.0/node_modules/@types/caseless/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/caseless/README.md +48 -0
- package/.cache/typescript/5.0/node_modules/@types/caseless/index.d.ts +29 -0
- package/.cache/typescript/5.0/node_modules/@types/caseless/package.json +35 -0
- package/.cache/typescript/5.0/node_modules/@types/cheerio/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/cheerio/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/cheerio/index.d.ts +318 -0
- package/.cache/typescript/5.0/node_modules/@types/cheerio/package.json +71 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/index.d.ts +91 -0
- package/.cache/typescript/5.0/node_modules/@types/connect/package.json +32 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/aes.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/blowfish.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/core.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-base64.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-base64url.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-hex.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-latin1.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-utf16.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/enc-utf8.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/evpkdf.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/format-hex.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/format-openssl.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-md5.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-ripemd160.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha1.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha224.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha256.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha3.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha384.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/hmac-sha512.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/index.d.ts +1743 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/lib-typedarrays.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/md5.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/mode-cfb.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/mode-ctr-gladman.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/mode-ctr.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/mode-ecb.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/mode-ofb.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/package.json +40 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-ansix923.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-iso10126.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-iso97971.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-nopadding.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-pkcs7.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pad-zeropadding.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/pbkdf2.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/rabbit-legacy.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/rabbit.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/rc4.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/ripemd160.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha1.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha224.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha256.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha3.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha384.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/sha512.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/tripledes.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/crypto-js/x64-core.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/deasync/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/deasync/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/deasync/index.d.ts +102 -0
- package/.cache/typescript/5.0/node_modules/@types/deasync/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/duplexify/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/duplexify/README.md +48 -0
- package/.cache/typescript/5.0/node_modules/@types/duplexify/index.d.ts +29 -0
- package/.cache/typescript/5.0/node_modules/@types/duplexify/package.json +27 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/helpers.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/index.d.ts +1305 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/package.json +65 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/best-practices.d.ts +931 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/deprecated.d.ts +267 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/ecmascript-6.d.ts +502 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/index.d.ts +23 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/node-commonjs.d.ts +133 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/possible-errors.d.ts +484 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/strict-mode.d.ts +11 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/stylistic-issues.d.ts +1905 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/rules/variables.d.ts +187 -0
- package/.cache/typescript/5.0/node_modules/@types/eslint/use-at-your-own-risk.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/@types/estree/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/estree/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/estree/flow.d.ts +167 -0
- package/.cache/typescript/5.0/node_modules/@types/estree/index.d.ts +683 -0
- package/.cache/typescript/5.0/node_modules/@types/estree/package.json +26 -0
- package/.cache/typescript/5.0/node_modules/@types/express/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/express/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/express/index.d.ts +128 -0
- package/.cache/typescript/5.0/node_modules/@types/express/package.json +45 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/index.d.ts +1261 -0
- package/.cache/typescript/5.0/node_modules/@types/express-serve-static-core/package.json +55 -0
- package/.cache/typescript/5.0/node_modules/@types/figlet/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/figlet/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/figlet/index.d.ts +421 -0
- package/.cache/typescript/5.0/node_modules/@types/figlet/package.json +19 -0
- package/.cache/typescript/5.0/node_modules/@types/fs-extra/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/fs-extra/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/fs-extra/esm.d.mts +111 -0
- package/.cache/typescript/5.0/node_modules/@types/fs-extra/index.d.ts +996 -0
- package/.cache/typescript/5.0/node_modules/@types/fs-extra/package.json +84 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/index.d.ts +77 -0
- package/.cache/typescript/5.0/node_modules/@types/http-errors/package.json +30 -0
- package/.cache/typescript/5.0/node_modules/@types/json-schema/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/json-schema/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/json-schema/index.d.ts +749 -0
- package/.cache/typescript/5.0/node_modules/@types/json-schema/package.json +40 -0
- package/.cache/typescript/5.0/node_modules/@types/jsonfile/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/jsonfile/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/jsonfile/index.d.ts +71 -0
- package/.cache/typescript/5.0/node_modules/@types/jsonfile/package.json +37 -0
- package/.cache/typescript/5.0/node_modules/@types/jsonfile/utils.d.ts +9 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/add.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/after.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/ary.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/assign.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/assignIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/assignInWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/assignWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/at.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/attempt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/before.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/bind.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/bindAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/bindKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/camelCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/capitalize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/castArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/ceil.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/chain.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/chunk.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/clamp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/clone.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/cloneDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/cloneDeepWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/cloneWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/array.d.ts +2127 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/collection.d.ts +1934 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/common.d.ts +280 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/date.d.ts +23 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/function.d.ts +1446 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/lang.d.ts +1700 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/math.d.ts +405 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/number.d.ts +131 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/object.d.ts +2580 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/seq.d.ts +210 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/string.d.ts +788 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/common/util.d.ts +1220 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/compact.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/concat.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/cond.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/conformsTo.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/constant.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/countBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/create.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/curry.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/curryRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/debounce.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/deburr.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/defaultTo.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/defaults.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/defaultsDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/defer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/delay.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/difference.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/differenceBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/differenceWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/divide.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/drop.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/dropRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/dropRightWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/dropWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/each.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/eachRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/endsWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/entries.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/entriesIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/eq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/escape.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/escapeRegExp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/every.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/extend.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/extendWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fill.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/filter.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/find.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/findIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/findKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/findLast.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/findLastIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/findLastKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/first.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flatMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flatMapDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flatMapDepth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flatten.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flattenDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flattenDepth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/floor.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flow.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/flowRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forEach.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forEachRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forInRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forOwn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/forOwnRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/F.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/T.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/__.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/add.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/after.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/all.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/allPass.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/always.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/any.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/anyPass.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/apply.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/ary.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assign.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignInAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignInAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignInWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assignWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assoc.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/assocPath.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/at.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/attempt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/before.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/bind.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/bindAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/bindKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/camelCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/capitalize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/castArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/ceil.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/chunk.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/clamp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/clone.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/cloneDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/cloneWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/compact.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/complement.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/compose.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/concat.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/cond.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/conforms.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/conformsTo.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/constant.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/contains.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/convert.d.ts +15 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/countBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/create.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/curry.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/curryN.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/curryRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/curryRightN.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/debounce.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/deburr.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defaultTo.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defaults.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defaultsAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defaultsDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/defer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/delay.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/difference.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/differenceBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/differenceWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dissoc.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dissocPath.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/divide.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/drop.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dropLast.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dropLastWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dropRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dropRightWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/dropWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/each.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/eachRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/endsWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/entries.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/entriesIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/eq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/equals.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/escape.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/escapeRegExp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/every.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/extend.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/extendAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/extendAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/extendWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/fill.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/filter.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/find.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findIndexFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findLast.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findLastFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findLastIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/findLastKey.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/first.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flatMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flatMapDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flatMapDepth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flatten.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flattenDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flattenDepth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/floor.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flow.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/flowRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forEach.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forEachRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forInRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forOwn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/forOwnRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/fromPairs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/functions.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/functionsIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/get.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/getOr.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/groupBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/gt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/gte.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/has.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/hasIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/head.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/identical.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/identity.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/inRange.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/includes.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/includesFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/indexBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/indexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/indexOfFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/init.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/initial.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/intersection.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/intersectionBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/intersectionWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invert.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invertBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invertObj.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invoke.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invokeArgs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/invokeMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isArguments.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isArrayLike.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isBoolean.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isBuffer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isDate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isElement.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isEmpty.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isEqual.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isEqualWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isError.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isFinite.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isFunction.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isLength.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isMatch.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isMatchWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isNaN.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isNative.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isNil.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isNull.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isNumber.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isObjectLike.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isPlainObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isRegExp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isSafeInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isSet.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isString.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isSymbol.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isTypedArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isUndefined.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isWeakMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/isWeakSet.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/iteratee.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/join.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/juxt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/kebabCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/keyBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/keys.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/keysIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/last.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lastIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lowerCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lowerFirst.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/lte.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/map.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mapKeys.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mapValues.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/matches.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/matchesProperty.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/max.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/maxBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mean.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/meanBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/memoize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/merge.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mergeAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mergeAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/mergeWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/method.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/methodOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/min.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/minBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/multiply.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/nAry.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/negate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/noConflict.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/noop.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/now.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/nth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/nthArg.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/omit.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/omitAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/omitBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/once.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/orderBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/over.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/overArgs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/overEvery.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/overSome.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pad.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/padChars.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/padCharsEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/padCharsStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/padEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/padStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/parseInt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/partial.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/partialRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/partition.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/path.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pathEq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pathOr.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/paths.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pick.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pickAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pickBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pipe.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/placeholder.d.ts +3 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pluck.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/prop.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/propEq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/propOr.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/property.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/propertyOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/props.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pull.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pullAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pullAllBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pullAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/pullAt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/random.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/range.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/rangeRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/rangeStep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/rangeStepRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/rearg.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/reduce.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/reduceRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/reject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/remove.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/repeat.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/replace.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/rest.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/restFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/result.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/reverse.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/round.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/runInContext.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sample.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sampleSize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/set.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/setWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/shuffle.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/size.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/slice.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/snakeCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/some.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedUniq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/split.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/spread.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/spreadFrom.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/startCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/startsWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/stubArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/stubFalse.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/stubObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/stubString.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/stubTrue.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/subtract.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sum.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/sumBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/symmetricDifference.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/tail.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/take.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/takeLast.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/takeLastWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/takeRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/takeRightWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/takeWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/tap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/template.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/throttle.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/thru.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/times.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toFinite.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toLength.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toLower.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toNumber.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toPairs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toPairsIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toPath.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toPlainObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toSafeInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toString.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/toUpper.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/transform.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trim.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trimChars.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trimCharsStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trimEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/trimStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/truncate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unapply.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unary.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unescape.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/union.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unionBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unionWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/uniq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/uniqBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/uniqWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/uniqueId.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unnest.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unset.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unzip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/unzipWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/update.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/updateWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/upperCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/upperFirst.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/useWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/values.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/valuesIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/where.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/whereEq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/without.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/words.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/wrap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/xor.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/xorBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/xorWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zipAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zipObj.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zipObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp/zipWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fp.d.ts +4950 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/fromPairs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/functions.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/functionsIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/get.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/groupBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/gt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/gte.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/has.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/hasIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/head.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/identity.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/inRange.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/includes.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/index.d.ts +21 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/indexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/initial.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/intersection.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/intersectionBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/intersectionWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/invert.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/invertBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/invoke.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/invokeMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isArguments.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isArrayBuffer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isArrayLike.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isArrayLikeObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isBoolean.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isBuffer.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isDate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isElement.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isEmpty.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isEqual.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isEqualWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isError.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isFinite.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isFunction.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isLength.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isMatch.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isMatchWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isNaN.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isNative.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isNil.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isNull.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isNumber.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isObjectLike.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isPlainObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isRegExp.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isSafeInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isSet.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isString.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isSymbol.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isTypedArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isUndefined.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isWeakMap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/isWeakSet.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/iteratee.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/join.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/kebabCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/keyBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/keys.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/keysIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/last.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/lastIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/lowerCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/lowerFirst.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/lt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/lte.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/map.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/mapKeys.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/mapValues.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/matches.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/matchesProperty.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/max.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/maxBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/mean.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/meanBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/memoize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/merge.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/mergeWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/method.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/methodOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/min.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/minBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/mixin.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/multiply.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/negate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/noConflict.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/noop.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/now.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/nth.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/nthArg.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/omit.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/omitBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/once.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/orderBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/over.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/overArgs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/overEvery.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/overSome.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/package.json +60 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pad.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/padEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/padStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/parseInt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/partial.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/partialRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/partition.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pick.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pickBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/property.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/propertyOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pull.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pullAll.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pullAllBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pullAllWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/pullAt.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/random.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/range.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/rangeRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/rearg.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/reduce.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/reduceRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/reject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/remove.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/repeat.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/replace.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/rest.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/result.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/reverse.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/round.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/runInContext.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sample.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sampleSize.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/set.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/setWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/shuffle.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/size.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/slice.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/snakeCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/some.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedIndexBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedLastIndex.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedLastIndexBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedLastIndexOf.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedUniq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sortedUniqBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/split.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/spread.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/startCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/startsWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/stubFalse.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/stubTrue.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/subtract.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sum.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/sumBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/tail.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/take.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/takeRight.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/takeRightWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/takeWhile.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/tap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/template.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/throttle.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/thru.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/times.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toArray.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toFinite.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toLength.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toLower.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toNumber.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toPairs.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toPairsIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toPath.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toPlainObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toSafeInteger.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toString.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/toUpper.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/transform.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/trim.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/trimEnd.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/trimStart.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/truncate.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unary.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unescape.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/union.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unionBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unionWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/uniq.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/uniqBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/uniqWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/uniqueId.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unset.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unzip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/unzipWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/update.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/updateWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/upperCase.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/upperFirst.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/values.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/valuesIn.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/without.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/words.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/wrap.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/xor.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/xorBy.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/xorWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/zip.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/zipObject.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/zipObjectDeep.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/lodash/zipWith.d.ts +2 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/Mime.d.ts +10 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/index.d.ts +31 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/lite.d.ts +7 -0
- package/.cache/typescript/5.0/node_modules/@types/mime/package.json +30 -0
- package/.cache/typescript/5.0/node_modules/@types/mocha/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/mocha/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/mocha/index.d.ts +2916 -0
- package/.cache/typescript/5.0/node_modules/@types/mocha/package.json +55 -0
- package/.cache/typescript/5.0/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/@types/node/assert.d.ts +996 -0
- package/.cache/typescript/5.0/node_modules/@types/node/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/buffer.d.ts +2362 -0
- package/.cache/typescript/5.0/node_modules/@types/node/child_process.d.ts +1540 -0
- package/.cache/typescript/5.0/node_modules/@types/node/cluster.d.ts +432 -0
- package/.cache/typescript/5.0/node_modules/@types/node/console.d.ts +415 -0
- package/.cache/typescript/5.0/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/@types/node/crypto.d.ts +4456 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dgram.d.ts +586 -0
- package/.cache/typescript/5.0/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dns.d.ts +809 -0
- package/.cache/typescript/5.0/node_modules/@types/node/dom-events.d.ts +122 -0
- package/.cache/typescript/5.0/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.0/node_modules/@types/node/events.d.ts +879 -0
- package/.cache/typescript/5.0/node_modules/@types/node/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.0/node_modules/@types/node/fs.d.ts +4291 -0
- package/.cache/typescript/5.0/node_modules/@types/node/globals.d.ts +381 -0
- package/.cache/typescript/5.0/node_modules/@types/node/globals.global.d.ts +1 -0
- package/.cache/typescript/5.0/node_modules/@types/node/http.d.ts +1888 -0
- package/.cache/typescript/5.0/node_modules/@types/node/http2.d.ts +2382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/https.d.ts +550 -0
- package/.cache/typescript/5.0/node_modules/@types/node/index.d.ts +88 -0
- package/.cache/typescript/5.0/node_modules/@types/node/inspector.d.ts +2747 -0
- package/.cache/typescript/5.0/node_modules/@types/node/module.d.ts +301 -0
- package/.cache/typescript/5.0/node_modules/@types/node/net.d.ts +949 -0
- package/.cache/typescript/5.0/node_modules/@types/node/os.d.ts +478 -0
- package/.cache/typescript/5.0/node_modules/@types/node/package.json +230 -0
- package/.cache/typescript/5.0/node_modules/@types/node/path.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.0/node_modules/@types/node/process.d.ts +1532 -0
- package/.cache/typescript/5.0/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.0/node_modules/@types/node/querystring.d.ts +141 -0
- package/.cache/typescript/5.0/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.0/node_modules/@types/node/readline.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream/web.d.ts +350 -0
- package/.cache/typescript/5.0/node_modules/@types/node/stream.d.ts +1701 -0
- package/.cache/typescript/5.0/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/@types/node/test.d.ts +1382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.0/node_modules/@types/node/tls.d.ts +1210 -0
- package/.cache/typescript/5.0/node_modules/@types/node/trace_events.d.ts +182 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/console.d.ts +415 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/crypto.d.ts +4455 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dgram.d.ts +586 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/events.d.ts +879 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/fs.d.ts +4291 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/globals.d.ts +381 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/http.d.ts +1888 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/https.d.ts +550 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/index.d.ts +88 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/module.d.ts +301 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/net.d.ts +949 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/os.d.ts +478 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/path.d.ts +191 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/process.d.ts +1532 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream/web.d.ts +350 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/test.d.ts +1382 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/url.d.ts +927 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/util.d.ts +2186 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.0/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
- package/.cache/typescript/5.0/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.0/node_modules/@types/node/url.d.ts +927 -0
- package/.cache/typescript/5.0/node_modules/@types/node/util.d.ts +2186 -0
- package/.cache/typescript/5.0/node_modules/@types/node/v8.d.ts +635 -0
- package/.cache/typescript/5.0/node_modules/@types/node/vm.d.ts +903 -0
- package/.cache/typescript/5.0/node_modules/@types/node/wasi.d.ts +158 -0
- package/.cache/typescript/5.0/node_modules/@types/node/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.0/node_modules/@types/node/zlib.d.ts +517 -0
- package/.cache/typescript/5.0/node_modules/@types/npmlog/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/npmlog/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/npmlog/index.d.ts +84 -0
- package/.cache/typescript/5.0/node_modules/@types/npmlog/package.json +32 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/README.md +75 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/index.d.ts +56 -0
- package/.cache/typescript/5.0/node_modules/@types/qs/package.json +65 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/README.md +53 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/index.d.ts +34 -0
- package/.cache/typescript/5.0/node_modules/@types/range-parser/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/readable-stream/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/readable-stream/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/readable-stream/index.d.ts +669 -0
- package/.cache/typescript/5.0/node_modules/@types/readable-stream/package.json +33 -0
- package/.cache/typescript/5.0/node_modules/@types/request/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/request/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/request/index.d.ts +395 -0
- package/.cache/typescript/5.0/node_modules/@types/request/package.json +70 -0
- package/.cache/typescript/5.0/node_modules/@types/send/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/send/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/send/index.d.ts +225 -0
- package/.cache/typescript/5.0/node_modules/@types/send/package.json +33 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/index.d.ts +107 -0
- package/.cache/typescript/5.0/node_modules/@types/serve-static/package.json +39 -0
- package/.cache/typescript/5.0/node_modules/@types/speakeasy/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/speakeasy/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/speakeasy/index.d.ts +447 -0
- package/.cache/typescript/5.0/node_modules/@types/speakeasy/package.json +37 -0
- package/.cache/typescript/5.0/node_modules/@types/totp-generator/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/totp-generator/README.md +69 -0
- package/.cache/typescript/5.0/node_modules/@types/totp-generator/index.d.ts +50 -0
- package/.cache/typescript/5.0/node_modules/@types/totp-generator/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/index.d.ts +321 -0
- package/.cache/typescript/5.0/node_modules/@types/tough-cookie/package.json +35 -0
- package/.cache/typescript/5.0/node_modules/@types/uuid/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/uuid/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/uuid/index.d.mts +10 -0
- package/.cache/typescript/5.0/node_modules/@types/uuid/index.d.ts +86 -0
- package/.cache/typescript/5.0/node_modules/@types/uuid/package.json +54 -0
- package/.cache/typescript/5.0/node_modules/@types/ws/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/@types/ws/README.md +15 -0
- package/.cache/typescript/5.0/node_modules/@types/ws/index.d.mts +21 -0
- package/.cache/typescript/5.0/node_modules/@types/ws/index.d.ts +410 -0
- package/.cache/typescript/5.0/node_modules/@types/ws/package.json +71 -0
- package/.cache/typescript/5.0/node_modules/asynckit/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/asynckit/README.md +233 -0
- package/.cache/typescript/5.0/node_modules/asynckit/bench.js +76 -0
- package/.cache/typescript/5.0/node_modules/asynckit/index.js +6 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/abort.js +29 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/async.js +34 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/defer.js +26 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/iterate.js +75 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/state.js +37 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/streamify.js +141 -0
- package/.cache/typescript/5.0/node_modules/asynckit/lib/terminator.js +29 -0
- package/.cache/typescript/5.0/node_modules/asynckit/package.json +63 -0
- package/.cache/typescript/5.0/node_modules/asynckit/parallel.js +43 -0
- package/.cache/typescript/5.0/node_modules/asynckit/serial.js +17 -0
- package/.cache/typescript/5.0/node_modules/asynckit/serialOrdered.js +75 -0
- package/.cache/typescript/5.0/node_modules/asynckit/stream.js +21 -0
- package/.cache/typescript/5.0/node_modules/combined-stream/License +19 -0
- package/.cache/typescript/5.0/node_modules/combined-stream/Readme.md +138 -0
- package/.cache/typescript/5.0/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.cache/typescript/5.0/node_modules/combined-stream/package.json +25 -0
- package/.cache/typescript/5.0/node_modules/combined-stream/yarn.lock +17 -0
- package/.cache/typescript/5.0/node_modules/delayed-stream/License +19 -0
- package/.cache/typescript/5.0/node_modules/delayed-stream/Makefile +7 -0
- package/.cache/typescript/5.0/node_modules/delayed-stream/Readme.md +141 -0
- package/.cache/typescript/5.0/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.cache/typescript/5.0/node_modules/delayed-stream/package.json +27 -0
- package/.cache/typescript/5.0/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.0/node_modules/form-data/README.md +350 -0
- package/.cache/typescript/5.0/node_modules/form-data/README.md.bak +350 -0
- package/.cache/typescript/5.0/node_modules/form-data/index.d.ts +51 -0
- package/.cache/typescript/5.0/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.0/node_modules/form-data/lib/form_data.js +483 -0
- package/.cache/typescript/5.0/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.0/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.0/node_modules/mime-db/HISTORY.md +507 -0
- package/.cache/typescript/5.0/node_modules/mime-db/LICENSE +23 -0
- package/.cache/typescript/5.0/node_modules/mime-db/README.md +100 -0
- package/.cache/typescript/5.0/node_modules/mime-db/db.json +8519 -0
- package/.cache/typescript/5.0/node_modules/mime-db/index.js +12 -0
- package/.cache/typescript/5.0/node_modules/mime-db/package.json +60 -0
- package/.cache/typescript/5.0/node_modules/mime-types/HISTORY.md +397 -0
- package/.cache/typescript/5.0/node_modules/mime-types/LICENSE +23 -0
- package/.cache/typescript/5.0/node_modules/mime-types/README.md +113 -0
- package/.cache/typescript/5.0/node_modules/mime-types/index.js +188 -0
- package/.cache/typescript/5.0/node_modules/mime-types/package.json +44 -0
- package/.cache/typescript/5.0/node_modules/safe-buffer/LICENSE +21 -0
- package/.cache/typescript/5.0/node_modules/safe-buffer/README.md +584 -0
- package/.cache/typescript/5.0/node_modules/safe-buffer/index.d.ts +187 -0
- package/.cache/typescript/5.0/node_modules/safe-buffer/index.js +62 -0
- package/.cache/typescript/5.0/node_modules/safe-buffer/package.json +37 -0
- package/.cache/typescript/5.0/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.0/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.0/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.0/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.0/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.0/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.0/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/.cache/typescript/5.0/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.0/node_modules/undici-types/client.d.ts +97 -0
- package/.cache/typescript/5.0/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.0/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.0/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.0/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/.cache/typescript/5.0/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/.cache/typescript/5.0/node_modules/undici-types/errors.d.ts +128 -0
- package/.cache/typescript/5.0/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.0/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.0/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.0/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.0/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.0/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.0/node_modules/undici-types/handlers.d.ts +9 -0
- package/.cache/typescript/5.0/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.0/node_modules/undici-types/index.d.ts +63 -0
- package/.cache/typescript/5.0/node_modules/undici-types/interceptors.d.ts +5 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.0/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.0/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.0/node_modules/undici-types/patch.d.ts +71 -0
- package/.cache/typescript/5.0/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.0/node_modules/undici-types/pool.d.ts +28 -0
- package/.cache/typescript/5.0/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/.cache/typescript/5.0/node_modules/undici-types/readable.d.ts +61 -0
- package/.cache/typescript/5.0/node_modules/undici-types/webidl.d.ts +220 -0
- package/.cache/typescript/5.0/node_modules/undici-types/websocket.d.ts +131 -0
- package/.cache/typescript/5.0/package-lock.json +401 -0
- package/.cache/typescript/5.0/package.json +1 -0
- package/CountTime.json +1 -0
- package/Extra/Database/index.js +469 -0
- package/Extra/ExtraAddons.js +82 -0
- package/Extra/ExtraFindUID.js +62 -0
- package/Extra/ExtraGetThread.js +340 -0
- package/Extra/ExtraScreenShot.js +430 -0
- package/Extra/ExtraUptimeRobot.js +38 -0
- package/Extra/Html/Classic/script.js +119 -0
- package/Extra/Html/Classic/style.css +8 -0
- package/Extra/Security/Index.js +173 -0
- package/Extra/Security/Step_1.js +6 -0
- package/Extra/Security/Step_2.js +22 -0
- package/Extra/Security/Step_3.js +22 -0
- package/Extra/Src/Change_Environment.js +24 -0
- package/Extra/Src/Check_Update.js +67 -0
- package/Extra/Src/History.js +115 -0
- package/Extra/Src/Instant_Update.js +65 -0
- package/Extra/Src/Last-Run.js +65 -0
- package/Extra/Src/Release_Memory.js +41 -0
- package/Extra/Src/Websocket.js +213 -0
- package/Extra/Src/image/checkmate.jpg +0 -0
- package/Extra/Src/uuid.js +137 -0
- package/Func/AcceptAgreement.js +31 -0
- package/Func/ClearCache.js +64 -0
- package/Func/ReportV1.js +54 -0
- package/Index.js +379 -0
- package/Language/index.json +216 -0
- package/Main.js +1207 -0
- package/README.md +121 -3
- package/SECURITY.md +18 -0
- package/broadcast.js +40 -0
- package/index.js +0 -0
- package/logger.js +75 -0
- package/package.json +90 -3
- package/src/Dev_Horizon_Data.js +125 -0
- package/src/Premium.js +25 -0
- package/src/Screenshot.js +83 -0
- package/src/addExternalModule.js +16 -0
- package/src/addUserToGroup.js +79 -0
- package/src/changeAdminStatus.js +79 -0
- package/src/changeArchivedStatus.js +41 -0
- package/src/changeAvt.js +85 -0
- package/src/changeBio.js +65 -0
- package/src/changeBlockedStatus.js +36 -0
- package/src/changeGroupImage.js +106 -0
- package/src/changeNickname.js +45 -0
- package/src/changeThreadColor.js +62 -0
- package/src/changeThreadEmoji.js +42 -0
- package/src/createNewGroup.js +70 -0
- package/src/createPoll.js +60 -0
- package/src/deleteMessage.js +45 -0
- package/src/deleteThread.js +43 -0
- package/src/forwardAttachment.js +48 -0
- package/src/getAccessToken.js +28 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +27 -0
- package/src/getFriendsList.js +73 -0
- package/src/getMessage.js +80 -0
- package/src/getThreadHistory.js +537 -0
- package/src/getThreadInfo.js +425 -0
- package/src/getThreadList.js +213 -0
- package/src/getThreadMain.js +220 -0
- package/src/getThreadPictures.js +59 -0
- package/src/getUID.js +59 -0
- package/src/getUserID.js +62 -0
- package/src/getUserInfo.js +113 -0
- package/src/getUserInfoMain.js +65 -0
- package/src/getUserInfoV2.js +32 -0
- package/src/getUserInfoV3.js +63 -0
- package/src/getUserInfoV4.js +55 -0
- package/src/getUserInfoV5.js +61 -0
- package/src/handleFriendRequest.js +46 -0
- package/src/handleMessageRequest.js +49 -0
- package/src/httpGet.js +49 -0
- package/src/httpPost.js +48 -0
- package/src/httpPostFormData.js +41 -0
- package/src/listenMqtt.js +787 -0
- package/src/logout.js +68 -0
- package/src/markAsDelivered.js +48 -0
- package/src/markAsRead.js +70 -0
- package/src/markAsReadAll.js +43 -0
- package/src/markAsSeen.js +51 -0
- package/src/muteThread.js +47 -0
- package/src/removeUserFromGroup.js +49 -0
- package/src/resolvePhotoUrl.js +37 -0
- package/src/searchForThread.js +43 -0
- package/src/sendMessage.js +379 -0
- package/src/sendTypingIndicator.js +80 -0
- package/src/setMessageReaction.js +109 -0
- package/src/setPostReaction.js +102 -0
- package/src/setTitle.js +74 -0
- package/src/threadColors.js +39 -0
- package/src/unfriend.js +43 -0
- package/src/unsendMessage.js +40 -0
- package/test/Database_Test.js +4 -0
- package/test/Db2.js +530 -0
- package/test/Horizon_Database/A_README.md +1 -0
- package/test/Horizon_Database/Database.db +0 -0
- package/test/data/shareAttach.js +146 -0
- package/test/data/something.mov +0 -0
- package/test/data/test.png +0 -0
- package/test/data/test.txt +7 -0
- package/test/env/.env +0 -0
- package/test/example-config.json +18 -0
- package/test/example-db.db +0 -0
- package/test/memoryleak.js +18 -0
- package/test/test-page.js +140 -0
- package/test/test.js +385 -0
- package/test/testv2.js +18 -0
- package/utils.js +1684 -0
@@ -0,0 +1,2916 @@
|
|
1
|
+
/**
|
2
|
+
* Mocha API
|
3
|
+
*
|
4
|
+
* @see https://mochajs.org/api/mocha
|
5
|
+
*/
|
6
|
+
declare class Mocha {
|
7
|
+
private _growl;
|
8
|
+
private _reporter;
|
9
|
+
private _ui;
|
10
|
+
|
11
|
+
constructor(options?: Mocha.MochaOptions);
|
12
|
+
|
13
|
+
suite: Mocha.Suite;
|
14
|
+
files: string[];
|
15
|
+
options: Mocha.MochaInstanceOptions;
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Add test `file`.
|
19
|
+
*
|
20
|
+
* @see https://mochajs.org/api/mocha#addFile
|
21
|
+
*/
|
22
|
+
addFile(file: string): this;
|
23
|
+
|
24
|
+
/**
|
25
|
+
* Enable or disable bailing on the first failure.
|
26
|
+
*
|
27
|
+
* @see https://mochajs.org/api/mocha#bail
|
28
|
+
*/
|
29
|
+
bail(bail?: boolean): this;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Enables or disables whether or not to dispose after each test run.
|
33
|
+
* Disable this to ensure you can run the test suite multiple times.
|
34
|
+
* If disabled, be sure to dispose mocha when you're done to prevent memory leaks.
|
35
|
+
*
|
36
|
+
* @see https://mochajs.org/api/mocha#cleanReferencesAfterRun
|
37
|
+
*/
|
38
|
+
cleanReferencesAfterRun(clean?: boolean): this;
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Manually dispose this mocha instance. Mark this instance as `disposed` and unable to run more tests.
|
42
|
+
* It also removes function references to tests functions and hooks, so variables trapped in closures can be cleaned by the garbage collector.
|
43
|
+
*
|
44
|
+
* @see https://mochajs.org/api/mocha#dispose
|
45
|
+
*/
|
46
|
+
dispose(): void;
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Set reporter to one of the built-in reporters.
|
50
|
+
*
|
51
|
+
* @see https://mochajs.org/api/mocha#reporter
|
52
|
+
*/
|
53
|
+
reporter(reporter: Mocha.Reporter, reporterOptions?: any): this;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Set reporter to the provided constructor, one of the built-in reporters, or loads a reporter
|
57
|
+
* from a module path. Defaults to `"spec"`.
|
58
|
+
*
|
59
|
+
* @see https://mochajs.org/api/mocha#reporter
|
60
|
+
*/
|
61
|
+
reporter(reporter?: string | Mocha.ReporterConstructor, reporterOptions?: any): this;
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Set test UI to one of the built-in test interfaces.
|
65
|
+
*
|
66
|
+
* @see https://mochajs.org/api/mocha#ui
|
67
|
+
*/
|
68
|
+
ui(name: Mocha.Interface): this;
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Set test UI to one of the built-in test interfaces or loads a test interface from a module
|
72
|
+
* path. Defaults to `"bdd"`.
|
73
|
+
*
|
74
|
+
* @see https://mochajs.org/api/mocha#ui
|
75
|
+
*/
|
76
|
+
ui(name?: string): this;
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Escape string and add it to grep as a RegExp.
|
80
|
+
*
|
81
|
+
* @see https://mochajs.org/api/mocha#fgrep
|
82
|
+
*/
|
83
|
+
fgrep(str: string): this;
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Add regexp to grep, if `re` is a string it is escaped.
|
87
|
+
*
|
88
|
+
* @see https://mochajs.org/api/mocha#grep
|
89
|
+
*/
|
90
|
+
grep(re: string | RegExp): this;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Whether to activate dry-run mode.
|
94
|
+
*
|
95
|
+
* @param dryRun Whether to activate dry-run mode. Defaults to `true`.
|
96
|
+
*/
|
97
|
+
dryRun(dryRun?: boolean): this;
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Invert `.grep()` matches.
|
101
|
+
*
|
102
|
+
* @see https://mochajs.org/api/mocha#invert
|
103
|
+
*/
|
104
|
+
invert(): this;
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Enable global leak checking.
|
108
|
+
*
|
109
|
+
* @see https://mochajs.org/api/mocha#checkLeaks
|
110
|
+
*/
|
111
|
+
checkLeaks(): this;
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Display long stack-trace on failing
|
115
|
+
*
|
116
|
+
* @see https://mochajs.org/api/mocha#fullTrace
|
117
|
+
*/
|
118
|
+
fullTrace(): this;
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Enable growl support.
|
122
|
+
*
|
123
|
+
* @see https://mochajs.org/api/mocha#growl
|
124
|
+
*/
|
125
|
+
growl(): this;
|
126
|
+
|
127
|
+
/**
|
128
|
+
* Ignore `globals` array or string.
|
129
|
+
*
|
130
|
+
* @see https://mochajs.org/api/mocha#globals
|
131
|
+
*/
|
132
|
+
globals(globals: string | readonly string[]): this;
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Set the timeout in milliseconds.
|
136
|
+
*
|
137
|
+
* @see https://mochajs.org/api/mocha#timeout
|
138
|
+
*/
|
139
|
+
timeout(timeout: string | number): this;
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Set the number of times to retry failed tests.
|
143
|
+
*
|
144
|
+
* @see https://mochajs.org/api/mocha#retries
|
145
|
+
*/
|
146
|
+
retries(n: number): this;
|
147
|
+
|
148
|
+
/**
|
149
|
+
* Set slowness threshold in milliseconds.
|
150
|
+
*
|
151
|
+
* @see https://mochajs.org/api/mocha#slow
|
152
|
+
*/
|
153
|
+
slow(slow: string | number): this;
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Makes all tests async (accepting a callback)
|
157
|
+
*
|
158
|
+
* @see https://mochajs.org/api/mocha#asyncOnly.
|
159
|
+
*/
|
160
|
+
asyncOnly(): this;
|
161
|
+
|
162
|
+
/**
|
163
|
+
* Disable syntax highlighting (in browser).
|
164
|
+
*
|
165
|
+
* @see https://mochajs.org/api/mocha#noHighlighting
|
166
|
+
*/
|
167
|
+
noHighlighting(): this;
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Enable uncaught errors to propagate (in browser).
|
171
|
+
*
|
172
|
+
* @see https://mochajs.org/api/mocha#allowUncaught
|
173
|
+
*/
|
174
|
+
allowUncaught(): boolean;
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Delay root suite execution.
|
178
|
+
*
|
179
|
+
* @see https://mochajs.org/api/mocha#delay
|
180
|
+
*/
|
181
|
+
delay(): boolean;
|
182
|
+
|
183
|
+
/**
|
184
|
+
* Tests marked only fail the suite
|
185
|
+
*
|
186
|
+
* @see https://mochajs.org/api/mocha#forbidOnly
|
187
|
+
*/
|
188
|
+
forbidOnly(): boolean;
|
189
|
+
|
190
|
+
/**
|
191
|
+
* Pending tests and tests marked skip fail the suite
|
192
|
+
*
|
193
|
+
* @see https://mochajs.org/api/mocha#forbidPending
|
194
|
+
*/
|
195
|
+
forbidPending(): boolean;
|
196
|
+
|
197
|
+
/**
|
198
|
+
* Run tests and invoke `fn()` when complete.
|
199
|
+
*
|
200
|
+
* Note that `run` relies on Node's `require` to execute
|
201
|
+
* the test interface functions and will be subject to the
|
202
|
+
* cache - if the files are already in the `require` cache,
|
203
|
+
* they will effectively be skipped. Therefore, to run tests
|
204
|
+
* multiple times or to run tests in files that are already
|
205
|
+
* in the `require` cache, make sure to clear them from the
|
206
|
+
* cache first in whichever manner best suits your needs.
|
207
|
+
*
|
208
|
+
* @see https://mochajs.org/api/mocha#run
|
209
|
+
*/
|
210
|
+
run(fn?: (failures: number) => void): Mocha.Runner;
|
211
|
+
|
212
|
+
/**
|
213
|
+
* Loads ESM (and CJS) test files asynchronously.
|
214
|
+
*
|
215
|
+
* @see https://mochajs.org/api/mocha#loadFilesAsync
|
216
|
+
*/
|
217
|
+
loadFilesAsync(): Promise<void>;
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Load registered files.
|
221
|
+
*
|
222
|
+
* @see https://mochajs.org/api/mocha#loadFiles
|
223
|
+
*/
|
224
|
+
protected loadFiles(fn?: () => void): void;
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Unloads `files` from Node's `require` cache.
|
228
|
+
*
|
229
|
+
* This allows required files to be "freshly" reloaded, providing the ability
|
230
|
+
* to reuse a Mocha instance programmatically.
|
231
|
+
* Note: does not clear ESM module files from the cache
|
232
|
+
*/
|
233
|
+
unloadFiles(): this;
|
234
|
+
|
235
|
+
/**
|
236
|
+
* Toggles parallel mode.
|
237
|
+
*
|
238
|
+
* Must be run before calling `run`. Changes the `Runner` class to
|
239
|
+
* use; also enables lazy file loading if not already done so.
|
240
|
+
*
|
241
|
+
* @see https://mochajs.org/api/mocha#parallelMode
|
242
|
+
*/
|
243
|
+
parallelMode(enabled?: boolean): this;
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Assigns hooks to the root suite.
|
247
|
+
*
|
248
|
+
* @see https://mochajs.org/api/mocha#rootHooks
|
249
|
+
*/
|
250
|
+
rootHooks(hooks: Mocha.RootHookObject): this;
|
251
|
+
|
252
|
+
/**
|
253
|
+
* Configures one or more global setup fixtures.
|
254
|
+
* If given no parameters, unsets any previously-set fixtures.
|
255
|
+
*
|
256
|
+
* @see https://mochajs.org/api/mocha#globalSetup
|
257
|
+
*/
|
258
|
+
globalSetup: Mocha.HookFunction;
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Configures one or more global teardown fixtures.
|
262
|
+
* If given no parameters, unsets any previously-set fixtures.
|
263
|
+
*
|
264
|
+
* @see https://mochajs.org/api/mocha#globalTeardown
|
265
|
+
*/
|
266
|
+
globalTeardown: Mocha.HookFunction;
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Returns `true` if one or more global setup fixtures have been supplied
|
270
|
+
*
|
271
|
+
* @see https://mochajs.org/api/mocha#hasGlobalSetupFixtures
|
272
|
+
*/
|
273
|
+
hasGlobalSetupFixtures(): boolean;
|
274
|
+
|
275
|
+
/**
|
276
|
+
* Returns `true` if one or more global teardown fixtures have been supplied
|
277
|
+
*
|
278
|
+
* @see https://mochajs.org/api/mocha#hasGlobalTeardownFixtures
|
279
|
+
*/
|
280
|
+
hasGlobalTeardownFixtures(): boolean;
|
281
|
+
|
282
|
+
/**
|
283
|
+
* Toggle execution of any global setup fixture(s)
|
284
|
+
*
|
285
|
+
* @see https://mochajs.org/api/mocha#enableGlobalSetup
|
286
|
+
*/
|
287
|
+
enableGlobalSetup(enabled: boolean): this;
|
288
|
+
|
289
|
+
/**
|
290
|
+
* Toggle execution of any global teardown fixture(s)
|
291
|
+
*
|
292
|
+
* @see https://mochajs.org/api/mocha#enableGlobalTeardown
|
293
|
+
*/
|
294
|
+
enableGlobalTeardown(enabled: boolean): this;
|
295
|
+
}
|
296
|
+
|
297
|
+
declare namespace Mocha {
|
298
|
+
namespace utils {
|
299
|
+
/**
|
300
|
+
* Compute a slug from the given `str`.
|
301
|
+
*
|
302
|
+
* @see https://mochajs.org/api/module-utils.html#.slug
|
303
|
+
*/
|
304
|
+
function slug(str: string): string;
|
305
|
+
|
306
|
+
/**
|
307
|
+
* Strip the function definition from `str`, and re-indent for pre whitespace.
|
308
|
+
*
|
309
|
+
* @see https://mochajs.org/api/module-utils.html#.clean
|
310
|
+
*/
|
311
|
+
function clean(str: string): string;
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Highlight the given string of `js`.
|
315
|
+
*/
|
316
|
+
function highlight(js: string): string;
|
317
|
+
|
318
|
+
/**
|
319
|
+
* Takes some variable and asks `Object.prototype.toString()` what it thinks it is.
|
320
|
+
*/
|
321
|
+
function type(value: any): string;
|
322
|
+
|
323
|
+
/**
|
324
|
+
* Stringify `value`. Different behavior depending on type of value:
|
325
|
+
*
|
326
|
+
* - If `value` is undefined or null, return `'[undefined]'` or `'[null]'`, respectively.
|
327
|
+
* - If `value` is not an object, function or array, return result of `value.toString()` wrapped in double-quotes.
|
328
|
+
* - If `value` is an *empty* object, function, or array, returns `'{}'`, `'[Function]'`, or `'[]'` respectively.
|
329
|
+
* - If `value` has properties, call canonicalize} on it, then return result of `JSON.stringify()`
|
330
|
+
*
|
331
|
+
* @see https://mochajs.org/api/module-utils.html#.stringify
|
332
|
+
*/
|
333
|
+
function stringify(value: any): string;
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Return a new Thing that has the keys in sorted order. Recursive.
|
337
|
+
*
|
338
|
+
* If the Thing...
|
339
|
+
* - has already been seen, return string `'[Circular]'`
|
340
|
+
* - is `undefined`, return string `'[undefined]'`
|
341
|
+
* - is `null`, return value `null`
|
342
|
+
* - is some other primitive, return the value
|
343
|
+
* - is not a primitive or an `Array`, `Object`, or `Function`, return the value of the Thing's `toString()` method
|
344
|
+
* - is a non-empty `Array`, `Object`, or `Function`, return the result of calling this function again.
|
345
|
+
* - is an empty `Array`, `Object`, or `Function`, returns `'[]'`, `'{}'`, or `'[Function]'` respectively.
|
346
|
+
*
|
347
|
+
* @see https://mochajs.org/api/module-utils.html#.canonicalize
|
348
|
+
*/
|
349
|
+
function canonicalize(value: any, stack: any[], typeHint: string): any;
|
350
|
+
|
351
|
+
/**
|
352
|
+
* Generate an undefined error with a message warning the user.
|
353
|
+
*
|
354
|
+
* @see https://mochajs.org/api/module-utils.html#.undefinedError
|
355
|
+
*/
|
356
|
+
function undefinedError(): Error;
|
357
|
+
|
358
|
+
/**
|
359
|
+
* Generate an undefined error if `err` is not defined.
|
360
|
+
*
|
361
|
+
* @see https://mochajs.org/api/module-utils.html#.getError
|
362
|
+
*/
|
363
|
+
function getError(err: Error | undefined): Error;
|
364
|
+
|
365
|
+
/**
|
366
|
+
* When invoking this function you get a filter function that get the Error.stack as an
|
367
|
+
* input, and return a prettify output. (i.e: strip Mocha and internal node functions from
|
368
|
+
* stack trace).
|
369
|
+
*
|
370
|
+
* @see https://mochajs.org/api/module-utils.html#.stackTraceFilter
|
371
|
+
*/
|
372
|
+
function stackTraceFilter(): (stack: string) => string;
|
373
|
+
}
|
374
|
+
|
375
|
+
namespace interfaces {
|
376
|
+
function bdd(suite: Suite): void;
|
377
|
+
function tdd(suite: Suite): void;
|
378
|
+
function qunit(suite: Suite): void;
|
379
|
+
function exports(suite: Suite): void;
|
380
|
+
}
|
381
|
+
|
382
|
+
// #region Test interface augmentations
|
383
|
+
|
384
|
+
interface HookFunction {
|
385
|
+
/**
|
386
|
+
* [bdd, qunit, tdd] Describe a "hook" to execute the given callback `fn`. The name of the
|
387
|
+
* function is used as the name of the hook.
|
388
|
+
*
|
389
|
+
* - _Only available when invoked via the mocha CLI._
|
390
|
+
*/
|
391
|
+
(fn: Func): void;
|
392
|
+
|
393
|
+
/**
|
394
|
+
* [bdd, qunit, tdd] Describe a "hook" to execute the given callback `fn`. The name of the
|
395
|
+
* function is used as the name of the hook.
|
396
|
+
*
|
397
|
+
* - _Only available when invoked via the mocha CLI._
|
398
|
+
*/
|
399
|
+
(fn: AsyncFunc): void;
|
400
|
+
|
401
|
+
/**
|
402
|
+
* [bdd, qunit, tdd] Describe a "hook" to execute the given `title` and callback `fn`.
|
403
|
+
*
|
404
|
+
* - _Only available when invoked via the mocha CLI._
|
405
|
+
*/
|
406
|
+
(name: string, fn?: Func): void;
|
407
|
+
|
408
|
+
/**
|
409
|
+
* [bdd, qunit, tdd] Describe a "hook" to execute the given `title` and callback `fn`.
|
410
|
+
*
|
411
|
+
* - _Only available when invoked via the mocha CLI._
|
412
|
+
*/
|
413
|
+
(name: string, fn?: AsyncFunc): void;
|
414
|
+
}
|
415
|
+
|
416
|
+
interface SuiteFunction {
|
417
|
+
/**
|
418
|
+
* [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
|
419
|
+
* nested suites.
|
420
|
+
*
|
421
|
+
* - _Only available when invoked via the mocha CLI._
|
422
|
+
*/
|
423
|
+
(title: string, fn: (this: Suite) => void): Suite;
|
424
|
+
|
425
|
+
/**
|
426
|
+
* [qunit] Describe a "suite" with the given `title`.
|
427
|
+
*
|
428
|
+
* - _Only available when invoked via the mocha CLI._
|
429
|
+
*/
|
430
|
+
(title: string): Suite;
|
431
|
+
|
432
|
+
/**
|
433
|
+
* [bdd, tdd, qunit] Indicates this suite should be executed exclusively.
|
434
|
+
*
|
435
|
+
* - _Only available when invoked via the mocha CLI._
|
436
|
+
*/
|
437
|
+
only: ExclusiveSuiteFunction;
|
438
|
+
|
439
|
+
/**
|
440
|
+
* [bdd, tdd] Indicates this suite should not be executed.
|
441
|
+
*
|
442
|
+
* - _Only available when invoked via the mocha CLI._
|
443
|
+
*/
|
444
|
+
skip: PendingSuiteFunction;
|
445
|
+
}
|
446
|
+
|
447
|
+
interface ExclusiveSuiteFunction {
|
448
|
+
/**
|
449
|
+
* [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
|
450
|
+
* nested suites. Indicates this suite should be executed exclusively.
|
451
|
+
*
|
452
|
+
* - _Only available when invoked via the mocha CLI._
|
453
|
+
*/
|
454
|
+
(title: string, fn: (this: Suite) => void): Suite;
|
455
|
+
|
456
|
+
/**
|
457
|
+
* [qunit] Describe a "suite" with the given `title`. Indicates this suite should be executed
|
458
|
+
* exclusively.
|
459
|
+
*
|
460
|
+
* - _Only available when invoked via the mocha CLI._
|
461
|
+
*/
|
462
|
+
(title: string): Suite;
|
463
|
+
}
|
464
|
+
|
465
|
+
/**
|
466
|
+
* [bdd, tdd] Describe a "suite" with the given `title` and callback `fn` containing
|
467
|
+
* nested suites. Indicates this suite should not be executed.
|
468
|
+
*
|
469
|
+
* - _Only available when invoked via the mocha CLI._
|
470
|
+
*
|
471
|
+
* @returns [bdd] `Suite`
|
472
|
+
* @returns [tdd] `void`
|
473
|
+
*/
|
474
|
+
interface PendingSuiteFunction {
|
475
|
+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
476
|
+
(title: string, fn: (this: Suite) => void): Suite | void;
|
477
|
+
}
|
478
|
+
|
479
|
+
interface TestFunction {
|
480
|
+
/**
|
481
|
+
* Describe a specification or test-case with the given callback `fn` acting as a thunk.
|
482
|
+
* The name of the function is used as the name of the test.
|
483
|
+
*
|
484
|
+
* - _Only available when invoked via the mocha CLI._
|
485
|
+
*/
|
486
|
+
(fn: Func): Test;
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Describe a specification or test-case with the given callback `fn` acting as a thunk.
|
490
|
+
* The name of the function is used as the name of the test.
|
491
|
+
*
|
492
|
+
* - _Only available when invoked via the mocha CLI._
|
493
|
+
*/
|
494
|
+
(fn: AsyncFunc): Test;
|
495
|
+
|
496
|
+
/**
|
497
|
+
* Describe a specification or test-case with the given `title` and callback `fn` acting
|
498
|
+
* as a thunk.
|
499
|
+
*
|
500
|
+
* - _Only available when invoked via the mocha CLI._
|
501
|
+
*/
|
502
|
+
(title: string, fn?: Func): Test;
|
503
|
+
|
504
|
+
/**
|
505
|
+
* Describe a specification or test-case with the given `title` and callback `fn` acting
|
506
|
+
* as a thunk.
|
507
|
+
*
|
508
|
+
* - _Only available when invoked via the mocha CLI._
|
509
|
+
*/
|
510
|
+
(title: string, fn?: AsyncFunc): Test;
|
511
|
+
|
512
|
+
/**
|
513
|
+
* Indicates this test should be executed exclusively.
|
514
|
+
*
|
515
|
+
* - _Only available when invoked via the mocha CLI._
|
516
|
+
*/
|
517
|
+
only: ExclusiveTestFunction;
|
518
|
+
|
519
|
+
/**
|
520
|
+
* Indicates this test should not be executed.
|
521
|
+
*
|
522
|
+
* - _Only available when invoked via the mocha CLI._
|
523
|
+
*/
|
524
|
+
skip: PendingTestFunction;
|
525
|
+
|
526
|
+
/**
|
527
|
+
* Number of attempts to retry.
|
528
|
+
*
|
529
|
+
* - _Only available when invoked via the mocha CLI._
|
530
|
+
*/
|
531
|
+
retries(n: number): void;
|
532
|
+
}
|
533
|
+
|
534
|
+
interface ExclusiveTestFunction {
|
535
|
+
/**
|
536
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
|
537
|
+
* acting as a thunk. The name of the function is used as the name of the test. Indicates
|
538
|
+
* this test should be executed exclusively.
|
539
|
+
*
|
540
|
+
* - _Only available when invoked via the mocha CLI._
|
541
|
+
*/
|
542
|
+
(fn: Func): Test;
|
543
|
+
|
544
|
+
/**
|
545
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
|
546
|
+
* acting as a thunk. The name of the function is used as the name of the test. Indicates
|
547
|
+
* this test should be executed exclusively.
|
548
|
+
*
|
549
|
+
* - _Only available when invoked via the mocha CLI._
|
550
|
+
*/
|
551
|
+
(fn: AsyncFunc): Test;
|
552
|
+
|
553
|
+
/**
|
554
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
|
555
|
+
* callback `fn` acting as a thunk. Indicates this test should be executed exclusively.
|
556
|
+
*
|
557
|
+
* - _Only available when invoked via the mocha CLI._
|
558
|
+
*/
|
559
|
+
(title: string, fn?: Func): Test;
|
560
|
+
|
561
|
+
/**
|
562
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
|
563
|
+
* callback `fn` acting as a thunk. Indicates this test should be executed exclusively.
|
564
|
+
*
|
565
|
+
* - _Only available when invoked via the mocha CLI._
|
566
|
+
*/
|
567
|
+
(title: string, fn?: AsyncFunc): Test;
|
568
|
+
}
|
569
|
+
|
570
|
+
interface PendingTestFunction {
|
571
|
+
/**
|
572
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
|
573
|
+
* acting as a thunk. The name of the function is used as the name of the test. Indicates
|
574
|
+
* this test should not be executed.
|
575
|
+
*
|
576
|
+
* - _Only available when invoked via the mocha CLI._
|
577
|
+
*/
|
578
|
+
(fn: Func): Test;
|
579
|
+
|
580
|
+
/**
|
581
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given callback `fn`
|
582
|
+
* acting as a thunk. The name of the function is used as the name of the test. Indicates
|
583
|
+
* this test should not be executed.
|
584
|
+
*
|
585
|
+
* - _Only available when invoked via the mocha CLI._
|
586
|
+
*/
|
587
|
+
(fn: AsyncFunc): Test;
|
588
|
+
|
589
|
+
/**
|
590
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
|
591
|
+
* callback `fn` acting as a thunk. Indicates this test should not be executed.
|
592
|
+
*
|
593
|
+
* - _Only available when invoked via the mocha CLI._
|
594
|
+
*/
|
595
|
+
(title: string, fn?: Func): Test;
|
596
|
+
|
597
|
+
/**
|
598
|
+
* [bdd, tdd, qunit] Describe a specification or test-case with the given `title` and
|
599
|
+
* callback `fn` acting as a thunk. Indicates this test should not be executed.
|
600
|
+
*
|
601
|
+
* - _Only available when invoked via the mocha CLI._
|
602
|
+
*/
|
603
|
+
(title: string, fn?: AsyncFunc): Test;
|
604
|
+
}
|
605
|
+
|
606
|
+
/**
|
607
|
+
* Execute after each test case.
|
608
|
+
*
|
609
|
+
* - _Only available when invoked via the mocha CLI._
|
610
|
+
*
|
611
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
612
|
+
*/
|
613
|
+
let afterEach: HookFunction;
|
614
|
+
|
615
|
+
/**
|
616
|
+
* Execute after running tests.
|
617
|
+
*
|
618
|
+
* - _Only available when invoked via the mocha CLI._
|
619
|
+
*
|
620
|
+
* @see https://mochajs.org/api/global.html#after
|
621
|
+
*/
|
622
|
+
let after: HookFunction;
|
623
|
+
|
624
|
+
/**
|
625
|
+
* Execute before each test case.
|
626
|
+
*
|
627
|
+
* - _Only available when invoked via the mocha CLI._
|
628
|
+
*
|
629
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
630
|
+
*/
|
631
|
+
let beforeEach: HookFunction;
|
632
|
+
|
633
|
+
/**
|
634
|
+
* Execute before running tests.
|
635
|
+
*
|
636
|
+
* - _Only available when invoked via the mocha CLI._
|
637
|
+
*
|
638
|
+
* @see https://mochajs.org/api/global.html#before
|
639
|
+
*/
|
640
|
+
let before: HookFunction;
|
641
|
+
|
642
|
+
/**
|
643
|
+
* Describe a "suite" containing nested suites and tests.
|
644
|
+
*
|
645
|
+
* - _Only available when invoked via the mocha CLI._
|
646
|
+
*/
|
647
|
+
let describe: SuiteFunction;
|
648
|
+
|
649
|
+
/**
|
650
|
+
* Describe a pending suite.
|
651
|
+
*
|
652
|
+
* - _Only available when invoked via the mocha CLI._
|
653
|
+
*/
|
654
|
+
let xdescribe: PendingSuiteFunction;
|
655
|
+
|
656
|
+
/**
|
657
|
+
* Describes a test case.
|
658
|
+
*
|
659
|
+
* - _Only available when invoked via the mocha CLI._
|
660
|
+
*/
|
661
|
+
let it: TestFunction;
|
662
|
+
|
663
|
+
/**
|
664
|
+
* Describes a pending test case.
|
665
|
+
*
|
666
|
+
* - _Only available when invoked via the mocha CLI._
|
667
|
+
*/
|
668
|
+
let xit: PendingTestFunction;
|
669
|
+
|
670
|
+
/**
|
671
|
+
* Execute before each test case.
|
672
|
+
*
|
673
|
+
* - _Only available when invoked via the mocha CLI._
|
674
|
+
*
|
675
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
676
|
+
*/
|
677
|
+
let setup: HookFunction;
|
678
|
+
|
679
|
+
/**
|
680
|
+
* Execute before running tests.
|
681
|
+
*
|
682
|
+
* - _Only available when invoked via the mocha CLI._
|
683
|
+
*
|
684
|
+
* @see https://mochajs.org/api/global.html#before
|
685
|
+
*/
|
686
|
+
let suiteSetup: HookFunction;
|
687
|
+
|
688
|
+
/**
|
689
|
+
* Execute after running tests.
|
690
|
+
*
|
691
|
+
* - _Only available when invoked via the mocha CLI._
|
692
|
+
*
|
693
|
+
* @see https://mochajs.org/api/global.html#after
|
694
|
+
*/
|
695
|
+
let suiteTeardown: HookFunction;
|
696
|
+
|
697
|
+
/**
|
698
|
+
* Describe a "suite" containing nested suites and tests.
|
699
|
+
*
|
700
|
+
* - _Only available when invoked via the mocha CLI._
|
701
|
+
*/
|
702
|
+
let suite: SuiteFunction;
|
703
|
+
|
704
|
+
/**
|
705
|
+
* Execute after each test case.
|
706
|
+
*
|
707
|
+
* - _Only available when invoked via the mocha CLI._
|
708
|
+
*
|
709
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
710
|
+
*/
|
711
|
+
let teardown: HookFunction;
|
712
|
+
|
713
|
+
/**
|
714
|
+
* Describes a test case.
|
715
|
+
*
|
716
|
+
* - _Only available when invoked via the mocha CLI._
|
717
|
+
*/
|
718
|
+
let test: TestFunction;
|
719
|
+
|
720
|
+
/**
|
721
|
+
* Triggers root suite execution.
|
722
|
+
*
|
723
|
+
* - _Only available if flag --delay is passed into Mocha._
|
724
|
+
* - _Only available when invoked via the mocha CLI._
|
725
|
+
*
|
726
|
+
* @see https://mochajs.org/api/global.html#runWithSuite
|
727
|
+
*/
|
728
|
+
function run(): void;
|
729
|
+
|
730
|
+
// #endregion Test interface augmentations
|
731
|
+
|
732
|
+
namespace reporters {
|
733
|
+
/**
|
734
|
+
* Initialize a new `Base` reporter.
|
735
|
+
*
|
736
|
+
* All other reporters generally inherit from this reporter, providing stats such as test duration,
|
737
|
+
* number of tests passed / failed, etc.
|
738
|
+
*
|
739
|
+
* @see https://mochajs.org/api/Mocha.reporters.Base.html
|
740
|
+
*/
|
741
|
+
class Base {
|
742
|
+
constructor(runner: Runner, options?: MochaOptions);
|
743
|
+
|
744
|
+
/**
|
745
|
+
* Test run statistics
|
746
|
+
*/
|
747
|
+
stats: Stats;
|
748
|
+
|
749
|
+
/**
|
750
|
+
* Test failures
|
751
|
+
*/
|
752
|
+
failures: Test[];
|
753
|
+
|
754
|
+
/**
|
755
|
+
* The configured runner
|
756
|
+
*/
|
757
|
+
runner: Runner;
|
758
|
+
|
759
|
+
/**
|
760
|
+
* Output common epilogue used by many of the bundled reporters.
|
761
|
+
*
|
762
|
+
* @see https://mochajs.org/api/Mocha.reporters.Base.html#.Base#epilogue
|
763
|
+
*/
|
764
|
+
epilogue(): void;
|
765
|
+
|
766
|
+
done?(failures: number, fn?: (failures: number) => void): void;
|
767
|
+
}
|
768
|
+
|
769
|
+
namespace Base {
|
770
|
+
/**
|
771
|
+
* Enables coloring by default
|
772
|
+
*
|
773
|
+
* @see https://mochajs.org/api/module-base#.useColors
|
774
|
+
*/
|
775
|
+
let useColors: boolean;
|
776
|
+
|
777
|
+
/**
|
778
|
+
* Inline diffs instead of +/-
|
779
|
+
*
|
780
|
+
* @see https://mochajs.org/api/module-base#.inlineDiffs
|
781
|
+
*/
|
782
|
+
let inlineDiffs: boolean;
|
783
|
+
|
784
|
+
/**
|
785
|
+
* Default color map
|
786
|
+
*
|
787
|
+
* @see https://mochajs.org/api/module-base#.colors
|
788
|
+
*/
|
789
|
+
const colors: ColorMap;
|
790
|
+
|
791
|
+
/**
|
792
|
+
* Default color map
|
793
|
+
*
|
794
|
+
* @see https://mochajs.org/api/module-base#.colors
|
795
|
+
*/
|
796
|
+
interface ColorMap {
|
797
|
+
// added by Base
|
798
|
+
pass: number;
|
799
|
+
fail: number;
|
800
|
+
"bright pass": number;
|
801
|
+
"bright fail": number;
|
802
|
+
"bright yellow": number;
|
803
|
+
pending: number;
|
804
|
+
suite: number;
|
805
|
+
"error title": number;
|
806
|
+
"error message": number;
|
807
|
+
"error stack": number;
|
808
|
+
checkmark: number;
|
809
|
+
fast: number;
|
810
|
+
medium: number;
|
811
|
+
slow: number;
|
812
|
+
green: number;
|
813
|
+
light: number;
|
814
|
+
"diff gutter": number;
|
815
|
+
"diff added": number;
|
816
|
+
"diff removed": number;
|
817
|
+
|
818
|
+
// added by Progress
|
819
|
+
progress: number;
|
820
|
+
|
821
|
+
// added by Landing
|
822
|
+
plane: number;
|
823
|
+
"plane crash": number;
|
824
|
+
runway: number;
|
825
|
+
|
826
|
+
[key: string]: number;
|
827
|
+
}
|
828
|
+
|
829
|
+
/**
|
830
|
+
* Default symbol map
|
831
|
+
*
|
832
|
+
* @see https://mochajs.org/api/module-base#.symbols
|
833
|
+
*/
|
834
|
+
const symbols: SymbolMap;
|
835
|
+
|
836
|
+
/**
|
837
|
+
* Default symbol map
|
838
|
+
*
|
839
|
+
* @see https://mochajs.org/api/module-base#.symbols
|
840
|
+
*/
|
841
|
+
interface SymbolMap {
|
842
|
+
ok: string;
|
843
|
+
err: string;
|
844
|
+
dot: string;
|
845
|
+
comma: string;
|
846
|
+
bang: string;
|
847
|
+
[key: string]: string;
|
848
|
+
}
|
849
|
+
|
850
|
+
/**
|
851
|
+
* Color `str` with the given `type` (from `colors`)
|
852
|
+
*
|
853
|
+
* @see https://mochajs.org/api/module-base#.color
|
854
|
+
*/
|
855
|
+
function color(type: string, str: string): string;
|
856
|
+
|
857
|
+
/**
|
858
|
+
* Expose terminal window size
|
859
|
+
*
|
860
|
+
* @see https://mochajs.org/api/module-base#.window
|
861
|
+
*/
|
862
|
+
const window: {
|
863
|
+
width: number;
|
864
|
+
};
|
865
|
+
|
866
|
+
/**
|
867
|
+
* ANSI TTY control sequences common among reporters.
|
868
|
+
*
|
869
|
+
* @see https://mochajs.org/api/module-base#.cursor
|
870
|
+
*/
|
871
|
+
namespace cursor {
|
872
|
+
/**
|
873
|
+
* Hides the cursor
|
874
|
+
*/
|
875
|
+
function hide(): void;
|
876
|
+
|
877
|
+
/**
|
878
|
+
* Shows the cursor
|
879
|
+
*/
|
880
|
+
function show(): void;
|
881
|
+
|
882
|
+
/**
|
883
|
+
* Deletes the current line
|
884
|
+
*/
|
885
|
+
function deleteLine(): void;
|
886
|
+
|
887
|
+
/**
|
888
|
+
* Moves to the beginning of the line
|
889
|
+
*/
|
890
|
+
function beginningOfLine(): void;
|
891
|
+
|
892
|
+
/**
|
893
|
+
* Clears the line and moves to the beginning of the line.
|
894
|
+
*/
|
895
|
+
function CR(): void;
|
896
|
+
}
|
897
|
+
|
898
|
+
/**
|
899
|
+
* Returns a diff between two strings with colored ANSI output.
|
900
|
+
*
|
901
|
+
* @see https://mochajs.org/api/module-base#.generateDiff
|
902
|
+
*/
|
903
|
+
function generateDiff(actual: string, expected: string): string;
|
904
|
+
|
905
|
+
/**
|
906
|
+
* Output the given `failures` as a list.
|
907
|
+
*
|
908
|
+
* @see https://mochajs.org/api/Mocha.reporters.Base.html#.exports.list1
|
909
|
+
*/
|
910
|
+
function list(failures: Test[]): void;
|
911
|
+
}
|
912
|
+
|
913
|
+
/**
|
914
|
+
* Initialize a new `Dot` matrix test reporter.
|
915
|
+
*
|
916
|
+
* @see https://mochajs.org/api/Mocha.reporters.Dot.html
|
917
|
+
*/
|
918
|
+
class Dot extends Base {}
|
919
|
+
|
920
|
+
/**
|
921
|
+
* Initialize a new `Doc` reporter.
|
922
|
+
*
|
923
|
+
* @see https://mochajs.org/api/Mocha.reporters.Doc.html
|
924
|
+
*/
|
925
|
+
class Doc extends Base {}
|
926
|
+
|
927
|
+
/**
|
928
|
+
* Initialize a new `TAP` test reporter.
|
929
|
+
*
|
930
|
+
* @see https://mochajs.org/api/Mocha.reporters.TAP.html
|
931
|
+
*/
|
932
|
+
class TAP extends Base {}
|
933
|
+
|
934
|
+
/**
|
935
|
+
* Initialize a new `JSON` reporter
|
936
|
+
*
|
937
|
+
* @see https://mochajs.org/api/Mocha.reporters.JSON.html
|
938
|
+
*/
|
939
|
+
class JSON extends Base {}
|
940
|
+
|
941
|
+
/**
|
942
|
+
* Initialize a new `HTML` reporter.
|
943
|
+
*
|
944
|
+
* - _This reporter cannot be used on the console._
|
945
|
+
*
|
946
|
+
* @see https://mochajs.org/api/Mocha.reporters.HTML.html
|
947
|
+
*/
|
948
|
+
class HTML extends Base {
|
949
|
+
/**
|
950
|
+
* Provide suite URL.
|
951
|
+
*
|
952
|
+
* @see https://mochajs.org/api/Mocha.reporters.HTML.html#suiteURL
|
953
|
+
*/
|
954
|
+
suiteURL(suite: Suite): string;
|
955
|
+
|
956
|
+
/**
|
957
|
+
* Provide test URL.
|
958
|
+
*
|
959
|
+
* @see https://mochajs.org/api/Mocha.reporters.HTML.html#testURL
|
960
|
+
*/
|
961
|
+
testURL(test: Test): string;
|
962
|
+
|
963
|
+
/**
|
964
|
+
* Adds code toggle functionality for the provided test's list element.
|
965
|
+
*
|
966
|
+
* @see https://mochajs.org/api/Mocha.reporters.HTML.html#addCodeToggle
|
967
|
+
*/
|
968
|
+
addCodeToggle(el: HTMLLIElement, contents: string): void;
|
969
|
+
}
|
970
|
+
|
971
|
+
/**
|
972
|
+
* Initialize a new `List` test reporter.
|
973
|
+
*
|
974
|
+
* @see https://mochajs.org/api/Mocha.reporters.List.html
|
975
|
+
*/
|
976
|
+
class List extends Base {}
|
977
|
+
|
978
|
+
/**
|
979
|
+
* Initialize a new `Min` minimal test reporter (best used with --watch).
|
980
|
+
*
|
981
|
+
* @see https://mochajs.org/api/Mocha.reporters.Min.html
|
982
|
+
*/
|
983
|
+
class Min extends Base {}
|
984
|
+
|
985
|
+
/**
|
986
|
+
* Initialize a new `Spec` test reporter.
|
987
|
+
*
|
988
|
+
* @see https://mochajs.org/api/Mocha.reporters.Spec.html
|
989
|
+
*/
|
990
|
+
class Spec extends Base {}
|
991
|
+
|
992
|
+
/**
|
993
|
+
* Initialize a new `NyanCat` test reporter.
|
994
|
+
*
|
995
|
+
* @see https://mochajs.org/api/Mocha.reporters.Nyan.html
|
996
|
+
*/
|
997
|
+
class Nyan extends Base {
|
998
|
+
private colorIndex;
|
999
|
+
private numberOfLines;
|
1000
|
+
private rainbowColors;
|
1001
|
+
private scoreboardWidth;
|
1002
|
+
private tick;
|
1003
|
+
private trajectories;
|
1004
|
+
private trajectoryWidthMax;
|
1005
|
+
private draw;
|
1006
|
+
private drawScoreboard;
|
1007
|
+
private appendRainbow;
|
1008
|
+
private drawRainbow;
|
1009
|
+
private drawNyanCat;
|
1010
|
+
private face;
|
1011
|
+
private cursorUp;
|
1012
|
+
private cursorDown;
|
1013
|
+
private generateColors;
|
1014
|
+
private rainbowify;
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/**
|
1018
|
+
* Initialize a new `XUnit` test reporter.
|
1019
|
+
*
|
1020
|
+
* @see https://mochajs.org/api/Mocha.reporters.XUnit.html
|
1021
|
+
*/
|
1022
|
+
class XUnit extends Base {
|
1023
|
+
constructor(runner: Runner, options?: XUnit.MochaOptions);
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* Override done to close the stream (if it's a file).
|
1027
|
+
*
|
1028
|
+
* @see https://mochajs.org/api/Mocha.reporters.XUnit.html#done
|
1029
|
+
*/
|
1030
|
+
done(failures: number, fn: (failures: number) => void): void;
|
1031
|
+
|
1032
|
+
/**
|
1033
|
+
* Write out the given line.
|
1034
|
+
*
|
1035
|
+
* @see https://mochajs.org/api/Mocha.reporters.XUnit.html#write
|
1036
|
+
*/
|
1037
|
+
write(line: string): void;
|
1038
|
+
|
1039
|
+
/**
|
1040
|
+
* Output tag for the given `test.`
|
1041
|
+
*
|
1042
|
+
* @see https://mochajs.org/api/Mocha.reporters.XUnit.html#test
|
1043
|
+
*/
|
1044
|
+
test(test: Test): void;
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
namespace XUnit {
|
1048
|
+
interface MochaOptions extends Mocha.MochaOptions {
|
1049
|
+
reporterOptions?: ReporterOptions | undefined;
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
interface ReporterOptions {
|
1053
|
+
output?: string | undefined;
|
1054
|
+
suiteName?: string | undefined;
|
1055
|
+
}
|
1056
|
+
}
|
1057
|
+
|
1058
|
+
/**
|
1059
|
+
* Initialize a new `Markdown` test reporter.
|
1060
|
+
*
|
1061
|
+
* @see https://mochajs.org/api/Mocha.reporters.Markdown.html
|
1062
|
+
*/
|
1063
|
+
class Markdown extends Base {}
|
1064
|
+
|
1065
|
+
/**
|
1066
|
+
* Initialize a new `Progress` bar test reporter.
|
1067
|
+
*
|
1068
|
+
* @see https://mochajs.org/api/Mocha.reporters.Progress.html
|
1069
|
+
*/
|
1070
|
+
class Progress extends Base {
|
1071
|
+
constructor(runner: Runner, options?: Progress.MochaOptions);
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
namespace Progress {
|
1075
|
+
interface MochaOptions extends Mocha.MochaOptions {
|
1076
|
+
reporterOptions?: ReporterOptions | undefined;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
interface ReporterOptions {
|
1080
|
+
open?: string | undefined;
|
1081
|
+
complete?: string | undefined;
|
1082
|
+
incomplete?: string | undefined;
|
1083
|
+
close?: string | undefined;
|
1084
|
+
verbose?: boolean | undefined;
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
/**
|
1089
|
+
* Initialize a new `Landing` reporter.
|
1090
|
+
*
|
1091
|
+
* @see https://mochajs.org/api/Mocha.reporters.Landing.html
|
1092
|
+
*/
|
1093
|
+
class Landing extends Base {}
|
1094
|
+
|
1095
|
+
/**
|
1096
|
+
* Initialize a new `JSONStream` test reporter.
|
1097
|
+
*
|
1098
|
+
* @see https://mochajs.org/api/Mocha.reporters.JSONStream.html
|
1099
|
+
*/
|
1100
|
+
class JSONStream extends Base {}
|
1101
|
+
|
1102
|
+
// value-only aliases
|
1103
|
+
const base: typeof Base;
|
1104
|
+
const dot: typeof Dot;
|
1105
|
+
const doc: typeof Doc;
|
1106
|
+
const tap: typeof TAP;
|
1107
|
+
const json: typeof JSON;
|
1108
|
+
const html: typeof HTML;
|
1109
|
+
const list: typeof List;
|
1110
|
+
const spec: typeof Spec;
|
1111
|
+
const nyan: typeof Nyan;
|
1112
|
+
const xunit: typeof XUnit;
|
1113
|
+
const markdown: typeof Markdown;
|
1114
|
+
const progress: typeof Progress;
|
1115
|
+
const landing: typeof Landing;
|
1116
|
+
// NOTE: not possible to type this correctly:
|
1117
|
+
// const "json-stream": typeof JSONStream;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
/**
|
1121
|
+
* Initialize a new `Runnable` with the given `title` and callback `fn`.
|
1122
|
+
*
|
1123
|
+
* @see https://mochajs.org/api/Runnable.html
|
1124
|
+
*/
|
1125
|
+
class Runnable {
|
1126
|
+
private _slow;
|
1127
|
+
private _retries;
|
1128
|
+
private _currentRetry;
|
1129
|
+
private _timeout;
|
1130
|
+
private _timeoutError;
|
1131
|
+
|
1132
|
+
constructor(title: string, fn?: Func | AsyncFunc);
|
1133
|
+
|
1134
|
+
id: string;
|
1135
|
+
title: string;
|
1136
|
+
fn: Func | AsyncFunc | undefined;
|
1137
|
+
body: string;
|
1138
|
+
async: boolean;
|
1139
|
+
sync: boolean;
|
1140
|
+
timedOut: boolean;
|
1141
|
+
pending: boolean;
|
1142
|
+
duration?: number | undefined;
|
1143
|
+
parent?: Suite | undefined;
|
1144
|
+
state?: "failed" | "passed" | "pending" | undefined;
|
1145
|
+
timer?: any;
|
1146
|
+
ctx?: Context | undefined;
|
1147
|
+
callback?: Done | undefined;
|
1148
|
+
allowUncaught?: boolean | undefined;
|
1149
|
+
file?: string | undefined;
|
1150
|
+
|
1151
|
+
/**
|
1152
|
+
* Get test timeout.
|
1153
|
+
*
|
1154
|
+
* @see https://mochajs.org/api/Runnable.html#timeout
|
1155
|
+
*/
|
1156
|
+
timeout(): number;
|
1157
|
+
|
1158
|
+
/**
|
1159
|
+
* Set test timeout.
|
1160
|
+
*
|
1161
|
+
* @see https://mochajs.org/api/Runnable.html#timeout
|
1162
|
+
*/
|
1163
|
+
timeout(ms: string | number): this;
|
1164
|
+
|
1165
|
+
/**
|
1166
|
+
* Get test slowness threshold.
|
1167
|
+
*
|
1168
|
+
* @see https://mochajs.org/api/Runnable.html#slow
|
1169
|
+
*/
|
1170
|
+
slow(): number;
|
1171
|
+
|
1172
|
+
/**
|
1173
|
+
* Set test slowness threshold.
|
1174
|
+
*
|
1175
|
+
* @see https://mochajs.org/api/Runnable.html#slow
|
1176
|
+
*/
|
1177
|
+
slow(ms: string | number): this;
|
1178
|
+
|
1179
|
+
/**
|
1180
|
+
* Halt and mark as pending.
|
1181
|
+
*/
|
1182
|
+
skip(): never;
|
1183
|
+
|
1184
|
+
/**
|
1185
|
+
* Check if this runnable or its parent suite is marked as pending.
|
1186
|
+
*
|
1187
|
+
* @see https://mochajs.org/api/Runnable.html#isPending
|
1188
|
+
*/
|
1189
|
+
isPending(): boolean;
|
1190
|
+
|
1191
|
+
/**
|
1192
|
+
* Return `true` if this Runnable has failed.
|
1193
|
+
*/
|
1194
|
+
isFailed(): boolean;
|
1195
|
+
|
1196
|
+
/**
|
1197
|
+
* Return `true` if this Runnable has passed.
|
1198
|
+
*/
|
1199
|
+
isPassed(): boolean;
|
1200
|
+
|
1201
|
+
/**
|
1202
|
+
* Set or get number of retries.
|
1203
|
+
*
|
1204
|
+
* @see https://mochajs.org/api/Runnable.html#retries
|
1205
|
+
*/
|
1206
|
+
retries(): number;
|
1207
|
+
|
1208
|
+
/**
|
1209
|
+
* Set or get number of retries.
|
1210
|
+
*
|
1211
|
+
* @see https://mochajs.org/api/Runnable.html#retries
|
1212
|
+
*/
|
1213
|
+
retries(n: number): void;
|
1214
|
+
|
1215
|
+
/**
|
1216
|
+
* Set or get current retry
|
1217
|
+
*
|
1218
|
+
* @see https://mochajs.org/api/Runnable.html#currentRetry
|
1219
|
+
*/
|
1220
|
+
protected currentRetry(): number;
|
1221
|
+
|
1222
|
+
/**
|
1223
|
+
* Set or get current retry
|
1224
|
+
*
|
1225
|
+
* @see https://mochajs.org/api/Runnable.html#currentRetry
|
1226
|
+
*/
|
1227
|
+
protected currentRetry(n: number): void;
|
1228
|
+
|
1229
|
+
/**
|
1230
|
+
* Return the full title generated by recursively concatenating the parent's full title.
|
1231
|
+
*/
|
1232
|
+
fullTitle(): string;
|
1233
|
+
|
1234
|
+
/**
|
1235
|
+
* Return the title path generated by concatenating the parent's title path with the title.
|
1236
|
+
*/
|
1237
|
+
titlePath(): string[];
|
1238
|
+
|
1239
|
+
/**
|
1240
|
+
* Clear the timeout.
|
1241
|
+
*
|
1242
|
+
* @see https://mochajs.org/api/Runnable.html#clearTimeout
|
1243
|
+
*/
|
1244
|
+
clearTimeout(): void;
|
1245
|
+
|
1246
|
+
/**
|
1247
|
+
* Inspect the runnable void of private properties.
|
1248
|
+
*
|
1249
|
+
* @see https://mochajs.org/api/Runnable.html#inspect
|
1250
|
+
*/
|
1251
|
+
inspect(): string;
|
1252
|
+
|
1253
|
+
/**
|
1254
|
+
* Reset the timeout.
|
1255
|
+
*
|
1256
|
+
* @see https://mochajs.org/api/Runnable.html#resetTimeout
|
1257
|
+
*/
|
1258
|
+
resetTimeout(): void;
|
1259
|
+
|
1260
|
+
/**
|
1261
|
+
* Get a list of whitelisted globals for this test run.
|
1262
|
+
*
|
1263
|
+
* @see https://mochajs.org/api/Runnable.html#globals
|
1264
|
+
*/
|
1265
|
+
globals(): string[];
|
1266
|
+
|
1267
|
+
/**
|
1268
|
+
* Set a list of whitelisted globals for this test run.
|
1269
|
+
*
|
1270
|
+
* @see https://mochajs.org/api/Runnable.html#globals
|
1271
|
+
*/
|
1272
|
+
globals(globals: readonly string[]): void;
|
1273
|
+
|
1274
|
+
/**
|
1275
|
+
* Run the test and invoke `fn(err)`.
|
1276
|
+
*
|
1277
|
+
* @see https://mochajs.org/api/Runnable.html#run
|
1278
|
+
*/
|
1279
|
+
run(fn: Done): void;
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
// #region Runnable "error" event
|
1283
|
+
interface Runnable extends NodeJS.EventEmitter {
|
1284
|
+
on(event: "error", listener: (error: any) => void): this;
|
1285
|
+
once(event: "error", listener: (error: any) => void): this;
|
1286
|
+
addListener(event: "error", listener: (error: any) => void): this;
|
1287
|
+
removeListener(event: "error", listener: (error: any) => void): this;
|
1288
|
+
prependListener(event: "error", listener: (error: any) => void): this;
|
1289
|
+
prependOnceListener(event: "error", listener: (error: any) => void): this;
|
1290
|
+
emit(name: "error", error: any): boolean;
|
1291
|
+
}
|
1292
|
+
// #endregion Runnable "error" event
|
1293
|
+
// #region Runnable untyped events
|
1294
|
+
interface Runnable extends NodeJS.EventEmitter {
|
1295
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
1296
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
1297
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
1298
|
+
removeListener(event: string, listener: (...args: any[]) => void): this;
|
1299
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
1300
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
1301
|
+
emit(name: string, ...args: any[]): boolean;
|
1302
|
+
}
|
1303
|
+
// #endregion Runnable untyped events
|
1304
|
+
|
1305
|
+
/**
|
1306
|
+
* Test context
|
1307
|
+
*
|
1308
|
+
* @see https://mochajs.org/api/module-Context.html#~Context
|
1309
|
+
*/
|
1310
|
+
class Context {
|
1311
|
+
private _runnable;
|
1312
|
+
|
1313
|
+
test?: Runnable | undefined;
|
1314
|
+
currentTest?: Test | undefined;
|
1315
|
+
|
1316
|
+
/**
|
1317
|
+
* Get the context `Runnable`.
|
1318
|
+
*/
|
1319
|
+
runnable(): Runnable;
|
1320
|
+
|
1321
|
+
/**
|
1322
|
+
* Set the context `Runnable`.
|
1323
|
+
*/
|
1324
|
+
runnable(runnable: Runnable): this;
|
1325
|
+
|
1326
|
+
/**
|
1327
|
+
* Get test timeout.
|
1328
|
+
*/
|
1329
|
+
timeout(): number;
|
1330
|
+
|
1331
|
+
/**
|
1332
|
+
* Set test timeout.
|
1333
|
+
*/
|
1334
|
+
timeout(ms: string | number): this;
|
1335
|
+
|
1336
|
+
/**
|
1337
|
+
* Get test slowness threshold.
|
1338
|
+
*/
|
1339
|
+
slow(): number;
|
1340
|
+
|
1341
|
+
/**
|
1342
|
+
* Set test slowness threshold.
|
1343
|
+
*/
|
1344
|
+
slow(ms: string | number): this;
|
1345
|
+
|
1346
|
+
/**
|
1347
|
+
* Mark a test as skipped.
|
1348
|
+
*/
|
1349
|
+
skip(): never;
|
1350
|
+
|
1351
|
+
/**
|
1352
|
+
* Get the number of allowed retries on failed tests.
|
1353
|
+
*/
|
1354
|
+
retries(): number;
|
1355
|
+
|
1356
|
+
/**
|
1357
|
+
* Set the number of allowed retries on failed tests.
|
1358
|
+
*/
|
1359
|
+
retries(n: number): this;
|
1360
|
+
|
1361
|
+
[key: string]: any;
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
interface RunnerConstants {
|
1365
|
+
readonly EVENT_HOOK_BEGIN: "hook";
|
1366
|
+
readonly EVENT_HOOK_END: "hook end";
|
1367
|
+
readonly EVENT_RUN_BEGIN: "start";
|
1368
|
+
readonly EVENT_DELAY_BEGIN: "waiting";
|
1369
|
+
readonly EVENT_DELAY_END: "ready";
|
1370
|
+
readonly EVENT_RUN_END: "end";
|
1371
|
+
readonly EVENT_SUITE_BEGIN: "suite";
|
1372
|
+
readonly EVENT_SUITE_END: "suite end";
|
1373
|
+
readonly EVENT_TEST_BEGIN: "test";
|
1374
|
+
readonly EVENT_TEST_END: "test end";
|
1375
|
+
readonly EVENT_TEST_FAIL: "fail";
|
1376
|
+
readonly EVENT_TEST_PASS: "pass";
|
1377
|
+
readonly EVENT_TEST_PENDING: "pending";
|
1378
|
+
readonly EVENT_TEST_RETRY: "retry";
|
1379
|
+
readonly STATE_IDLE: "idle";
|
1380
|
+
readonly STATE_RUNNING: "running";
|
1381
|
+
readonly STATE_STOPPED: "stopped";
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
interface RunnerOptions {
|
1385
|
+
/** Whether to delay execution of root suite until ready. */
|
1386
|
+
delay?: boolean;
|
1387
|
+
|
1388
|
+
/** Whether to report tests without running them. */
|
1389
|
+
dryRun?: boolean;
|
1390
|
+
|
1391
|
+
/** Whether to clean references to test fns and hooks when a suite is done. */
|
1392
|
+
cleanReferencesAfterRun?: boolean;
|
1393
|
+
}
|
1394
|
+
|
1395
|
+
/**
|
1396
|
+
* Initialize a `Runner` for the given `suite`.
|
1397
|
+
*
|
1398
|
+
* @see https://mochajs.org/api/Mocha.Runner.html
|
1399
|
+
*/
|
1400
|
+
class Runner {
|
1401
|
+
private _globals;
|
1402
|
+
private _abort;
|
1403
|
+
private _delay;
|
1404
|
+
private _defaultGrep;
|
1405
|
+
private next;
|
1406
|
+
private hookErr;
|
1407
|
+
private prevGlobalsLength;
|
1408
|
+
private nextSuite;
|
1409
|
+
|
1410
|
+
static readonly constants: RunnerConstants;
|
1411
|
+
|
1412
|
+
/**
|
1413
|
+
* Initialize a `Runner` at the Root Suite, which represents a hierarchy of Suites and Tests.
|
1414
|
+
*
|
1415
|
+
* @param suite Root suite
|
1416
|
+
* @param optionsOrDelay Options. If boolean (deprecated), whether or not to delay execution of root suite until ready.
|
1417
|
+
*/
|
1418
|
+
constructor(suite: Suite, optionsOrDelay?: RunnerOptions | boolean);
|
1419
|
+
|
1420
|
+
suite: Suite;
|
1421
|
+
started: boolean;
|
1422
|
+
total: number;
|
1423
|
+
failures: number;
|
1424
|
+
asyncOnly?: boolean | undefined;
|
1425
|
+
allowUncaught?: boolean | undefined;
|
1426
|
+
fullStackTrace?: boolean | undefined;
|
1427
|
+
forbidOnly?: boolean | undefined;
|
1428
|
+
forbidPending?: boolean | undefined;
|
1429
|
+
checkLeaks?: boolean | undefined;
|
1430
|
+
test?: Test | undefined;
|
1431
|
+
currentRunnable?: Runnable | undefined;
|
1432
|
+
stats?: Stats | undefined; // added by reporters
|
1433
|
+
|
1434
|
+
/**
|
1435
|
+
* Removes all event handlers set during a run on this instance.
|
1436
|
+
* Remark: this does *not* clean/dispose the tests or suites themselves.
|
1437
|
+
*
|
1438
|
+
* @see https://mochajs.org/api/runner#dispose
|
1439
|
+
*/
|
1440
|
+
dispose(): void;
|
1441
|
+
|
1442
|
+
/**
|
1443
|
+
* Run tests with full titles matching `re`. Updates runner.total
|
1444
|
+
* with number of tests matched.
|
1445
|
+
*
|
1446
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#grep
|
1447
|
+
*/
|
1448
|
+
grep(re: RegExp, invert: boolean): this;
|
1449
|
+
|
1450
|
+
/**
|
1451
|
+
* Returns the number of tests matching the grep search for the
|
1452
|
+
* given suite.
|
1453
|
+
*
|
1454
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#grepTotal
|
1455
|
+
*/
|
1456
|
+
grepTotal(suite: Suite): number;
|
1457
|
+
|
1458
|
+
/**
|
1459
|
+
* Gets the allowed globals.
|
1460
|
+
*
|
1461
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#globals
|
1462
|
+
*/
|
1463
|
+
globals(): string[];
|
1464
|
+
|
1465
|
+
/**
|
1466
|
+
* Allow the given `arr` of globals.
|
1467
|
+
*
|
1468
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#globals
|
1469
|
+
*/
|
1470
|
+
globals(arr: readonly string[]): this;
|
1471
|
+
|
1472
|
+
/**
|
1473
|
+
* Run the root suite and invoke `fn(failures)` on completion.
|
1474
|
+
*
|
1475
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#run
|
1476
|
+
*/
|
1477
|
+
run(fn?: (failures: number) => void): this;
|
1478
|
+
|
1479
|
+
/**
|
1480
|
+
* Cleanly abort execution.
|
1481
|
+
*
|
1482
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#.Runner#abort
|
1483
|
+
*/
|
1484
|
+
abort(): this;
|
1485
|
+
|
1486
|
+
/**
|
1487
|
+
* Handle uncaught exceptions.
|
1488
|
+
*
|
1489
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#uncaught
|
1490
|
+
*/
|
1491
|
+
uncaught(err: any): void;
|
1492
|
+
|
1493
|
+
/**
|
1494
|
+
* Wrapper for setImmediate, process.nextTick, or browser polyfill.
|
1495
|
+
*/
|
1496
|
+
protected static immediately(callback: Function): void;
|
1497
|
+
|
1498
|
+
/**
|
1499
|
+
* Return a list of global properties.
|
1500
|
+
*
|
1501
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#globalProps
|
1502
|
+
*/
|
1503
|
+
protected globalProps(): string[];
|
1504
|
+
|
1505
|
+
/**
|
1506
|
+
* Check for global variable leaks.
|
1507
|
+
*
|
1508
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#checkGlobals
|
1509
|
+
*/
|
1510
|
+
protected checkGlobals(test: Test): void;
|
1511
|
+
|
1512
|
+
/**
|
1513
|
+
* Fail the given `test`.
|
1514
|
+
*
|
1515
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#fail
|
1516
|
+
*/
|
1517
|
+
protected fail(test: Test, err: any): void;
|
1518
|
+
|
1519
|
+
/**
|
1520
|
+
* Fail the given `hook` with `err`.
|
1521
|
+
*
|
1522
|
+
* Hook failures work in the following pattern:
|
1523
|
+
* - If bail, then exit
|
1524
|
+
* - Failed `before` hook skips all tests in a suite and subsuites,
|
1525
|
+
* but jumps to corresponding `after` hook
|
1526
|
+
* - Failed `before each` hook skips remaining tests in a
|
1527
|
+
* suite and jumps to corresponding `after each` hook,
|
1528
|
+
* which is run only once
|
1529
|
+
* - Failed `after` hook does not alter
|
1530
|
+
* execution order
|
1531
|
+
* - Failed `after each` hook skips remaining tests in a
|
1532
|
+
* suite and subsuites, but executes other `after each`
|
1533
|
+
* hooks
|
1534
|
+
*
|
1535
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#failHook
|
1536
|
+
*/
|
1537
|
+
protected failHook(hook: Hook, err: any): void;
|
1538
|
+
|
1539
|
+
/**
|
1540
|
+
* Run hook `name` callbacks and then invoke `fn()`.
|
1541
|
+
*
|
1542
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#hook
|
1543
|
+
*/
|
1544
|
+
protected hook(name: string, fn: () => void): void;
|
1545
|
+
|
1546
|
+
/**
|
1547
|
+
* Run hook `name` for the given array of `suites`
|
1548
|
+
* in order, and callback `fn(err, errSuite)`.
|
1549
|
+
*
|
1550
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#hooks
|
1551
|
+
*/
|
1552
|
+
protected hooks(name: string, suites: Suite[], fn: (err?: any, errSuite?: Suite) => void): void;
|
1553
|
+
|
1554
|
+
/**
|
1555
|
+
* Run hooks from the top level down.
|
1556
|
+
*
|
1557
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#hookUp
|
1558
|
+
*/
|
1559
|
+
protected hookUp(name: string, fn: (err?: any, errSuite?: Suite) => void): void;
|
1560
|
+
|
1561
|
+
/**
|
1562
|
+
* Run hooks from the bottom up.
|
1563
|
+
*
|
1564
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#hookDown
|
1565
|
+
*/
|
1566
|
+
protected hookDown(name: string, fn: (err?: any, errSuite?: Suite) => void): void;
|
1567
|
+
|
1568
|
+
/**
|
1569
|
+
* Return an array of parent Suites from closest to furthest.
|
1570
|
+
*
|
1571
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#parents
|
1572
|
+
*/
|
1573
|
+
protected parents(): Suite[];
|
1574
|
+
|
1575
|
+
/**
|
1576
|
+
* Run the current test and callback `fn(err)`.
|
1577
|
+
*
|
1578
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#runTest
|
1579
|
+
*/
|
1580
|
+
protected runTest(fn: Done): any;
|
1581
|
+
|
1582
|
+
/**
|
1583
|
+
* Run tests in the given `suite` and invoke the callback `fn()` when complete.
|
1584
|
+
*
|
1585
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#runTests
|
1586
|
+
*/
|
1587
|
+
protected runTests(suite: Suite, fn: (errSuite?: Suite) => void): void;
|
1588
|
+
|
1589
|
+
/**
|
1590
|
+
* Run the given `suite` and invoke the callback `fn()` when complete.
|
1591
|
+
*
|
1592
|
+
* @see https://mochajs.org/api/Mocha.Runner.html#runSuite
|
1593
|
+
*/
|
1594
|
+
protected runSuite(suite: Suite, fn: (errSuite?: Suite) => void): void;
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
// #region Runner "waiting" event
|
1598
|
+
interface Runner {
|
1599
|
+
on(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1600
|
+
once(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1601
|
+
addListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1602
|
+
removeListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1603
|
+
prependListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1604
|
+
prependOnceListener(event: "waiting", listener: (rootSuite: Suite) => void): this;
|
1605
|
+
emit(name: "waiting", rootSuite: Suite): boolean;
|
1606
|
+
}
|
1607
|
+
// #endregion Runner "waiting" event
|
1608
|
+
// #region Runner "start" event
|
1609
|
+
interface Runner extends NodeJS.EventEmitter {
|
1610
|
+
on(event: "start", listener: () => void): this;
|
1611
|
+
once(event: "start", listener: () => void): this;
|
1612
|
+
addListener(event: "start", listener: () => void): this;
|
1613
|
+
removeListener(event: "start", listener: () => void): this;
|
1614
|
+
prependListener(event: "start", listener: () => void): this;
|
1615
|
+
prependOnceListener(event: "start", listener: () => void): this;
|
1616
|
+
emit(name: "start"): boolean;
|
1617
|
+
}
|
1618
|
+
// #endregion Runner "start" event
|
1619
|
+
// #region Runner "end" event
|
1620
|
+
interface Runner extends NodeJS.EventEmitter {
|
1621
|
+
on(event: "end", listener: () => void): this;
|
1622
|
+
once(event: "end", listener: () => void): this;
|
1623
|
+
addListener(event: "end", listener: () => void): this;
|
1624
|
+
removeListener(event: "end", listener: () => void): this;
|
1625
|
+
prependListener(event: "end", listener: () => void): this;
|
1626
|
+
prependOnceListener(event: "end", listener: () => void): this;
|
1627
|
+
emit(name: "end"): boolean;
|
1628
|
+
}
|
1629
|
+
// #endregion Runner "end" event
|
1630
|
+
// #region Runner "suite" event
|
1631
|
+
interface Runner extends NodeJS.EventEmitter {
|
1632
|
+
on(event: "suite", listener: (suite: Suite) => void): this;
|
1633
|
+
once(event: "suite", listener: (suite: Suite) => void): this;
|
1634
|
+
addListener(event: "suite", listener: (suite: Suite) => void): this;
|
1635
|
+
removeListener(event: "suite", listener: (suite: Suite) => void): this;
|
1636
|
+
prependListener(event: "suite", listener: (suite: Suite) => void): this;
|
1637
|
+
prependOnceListener(event: "suite", listener: (suite: Suite) => void): this;
|
1638
|
+
emit(name: "suite", suite: Suite): boolean;
|
1639
|
+
}
|
1640
|
+
// #endregion Runner "suite" event
|
1641
|
+
// #region Runner "suite end" event
|
1642
|
+
interface Runner extends NodeJS.EventEmitter {
|
1643
|
+
on(event: "suite end", listener: (suite: Suite) => void): this;
|
1644
|
+
once(event: "suite end", listener: (suite: Suite) => void): this;
|
1645
|
+
addListener(event: "suite end", listener: (suite: Suite) => void): this;
|
1646
|
+
removeListener(event: "suite end", listener: (suite: Suite) => void): this;
|
1647
|
+
prependListener(event: "suite end", listener: (suite: Suite) => void): this;
|
1648
|
+
prependOnceListener(event: "suite end", listener: (suite: Suite) => void): this;
|
1649
|
+
emit(name: "suite end", suite: Suite): boolean;
|
1650
|
+
}
|
1651
|
+
// #endregion Runner "suite end" event
|
1652
|
+
// #region Runner "test" event
|
1653
|
+
interface Runner extends NodeJS.EventEmitter {
|
1654
|
+
on(event: "test", listener: (test: Test) => void): this;
|
1655
|
+
once(event: "test", listener: (test: Test) => void): this;
|
1656
|
+
addListener(event: "test", listener: (test: Test) => void): this;
|
1657
|
+
removeListener(event: "test", listener: (test: Test) => void): this;
|
1658
|
+
prependListener(event: "test", listener: (test: Test) => void): this;
|
1659
|
+
prependOnceListener(event: "test", listener: (test: Test) => void): this;
|
1660
|
+
emit(name: "test", test: Test): boolean;
|
1661
|
+
}
|
1662
|
+
// #endregion Runner "test" event
|
1663
|
+
// #region Runner "test end" event
|
1664
|
+
interface Runner extends NodeJS.EventEmitter {
|
1665
|
+
on(event: "test end", listener: (test: Test) => void): this;
|
1666
|
+
once(event: "test end", listener: (test: Test) => void): this;
|
1667
|
+
addListener(event: "test end", listener: (test: Test) => void): this;
|
1668
|
+
removeListener(event: "test end", listener: (test: Test) => void): this;
|
1669
|
+
prependListener(event: "test end", listener: (test: Test) => void): this;
|
1670
|
+
prependOnceListener(event: "test end", listener: (test: Test) => void): this;
|
1671
|
+
emit(name: "test end", test: Test): boolean;
|
1672
|
+
}
|
1673
|
+
// #endregion Runner "test end" event
|
1674
|
+
// #region Runner "hook" event
|
1675
|
+
interface Runner extends NodeJS.EventEmitter {
|
1676
|
+
on(event: "hook", listener: (hook: Hook) => void): this;
|
1677
|
+
once(event: "hook", listener: (hook: Hook) => void): this;
|
1678
|
+
addListener(event: "hook", listener: (hook: Hook) => void): this;
|
1679
|
+
removeListener(event: "hook", listener: (hook: Hook) => void): this;
|
1680
|
+
prependListener(event: "hook", listener: (hook: Hook) => void): this;
|
1681
|
+
prependOnceListener(event: "hook", listener: (hook: Hook) => void): this;
|
1682
|
+
emit(name: "hook", hook: Hook): boolean;
|
1683
|
+
}
|
1684
|
+
// #endregion Runner "hook" event
|
1685
|
+
// #region Runner "hook end" event
|
1686
|
+
interface Runner extends NodeJS.EventEmitter {
|
1687
|
+
on(event: "hook end", listener: (hook: Hook) => void): this;
|
1688
|
+
once(event: "hook end", listener: (hook: Hook) => void): this;
|
1689
|
+
addListener(event: "hook end", listener: (hook: Hook) => void): this;
|
1690
|
+
removeListener(event: "hook end", listener: (hook: Hook) => void): this;
|
1691
|
+
prependListener(event: "hook end", listener: (hook: Hook) => void): this;
|
1692
|
+
prependOnceListener(event: "hook end", listener: (hook: Hook) => void): this;
|
1693
|
+
emit(name: "hook end", hook: Hook): boolean;
|
1694
|
+
}
|
1695
|
+
// #endregion Runner "hook end" event
|
1696
|
+
// #region Runner "pass" event
|
1697
|
+
interface Runner extends NodeJS.EventEmitter {
|
1698
|
+
on(event: "pass", listener: (test: Test) => void): this;
|
1699
|
+
once(event: "pass", listener: (test: Test) => void): this;
|
1700
|
+
addListener(event: "pass", listener: (test: Test) => void): this;
|
1701
|
+
removeListener(event: "pass", listener: (test: Test) => void): this;
|
1702
|
+
prependListener(event: "pass", listener: (test: Test) => void): this;
|
1703
|
+
prependOnceListener(event: "pass", listener: (test: Test) => void): this;
|
1704
|
+
emit(name: "pass", test: Test): boolean;
|
1705
|
+
}
|
1706
|
+
// #endregion Runner "pass" event
|
1707
|
+
// #region Runner "fail" event
|
1708
|
+
interface Runner extends NodeJS.EventEmitter {
|
1709
|
+
on(event: "fail", listener: (test: Test, err: any) => void): this;
|
1710
|
+
once(event: "fail", listener: (test: Test, err: any) => void): this;
|
1711
|
+
addListener(event: "fail", listener: (test: Test, err: any) => void): this;
|
1712
|
+
removeListener(event: "fail", listener: (test: Test, err: any) => void): this;
|
1713
|
+
prependListener(event: "fail", listener: (test: Test, err: any) => void): this;
|
1714
|
+
prependOnceListener(event: "fail", listener: (test: Test, err: any) => void): this;
|
1715
|
+
emit(name: "fail", test: Test, err: any): boolean;
|
1716
|
+
}
|
1717
|
+
// #endregion Runner "fail" event
|
1718
|
+
// #region Runner "pending" event
|
1719
|
+
interface Runner extends NodeJS.EventEmitter {
|
1720
|
+
on(event: "pending", listener: (test: Test) => void): this;
|
1721
|
+
once(event: "pending", listener: (test: Test) => void): this;
|
1722
|
+
addListener(event: "pending", listener: (test: Test) => void): this;
|
1723
|
+
removeListener(event: "pending", listener: (test: Test) => void): this;
|
1724
|
+
prependListener(event: "pending", listener: (test: Test) => void): this;
|
1725
|
+
prependOnceListener(event: "pending", listener: (test: Test) => void): this;
|
1726
|
+
emit(name: "pending", test: Test): boolean;
|
1727
|
+
}
|
1728
|
+
// #endregion Runner "pending" event
|
1729
|
+
// #region Runner untyped events
|
1730
|
+
interface Runner extends NodeJS.EventEmitter {
|
1731
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
1732
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
1733
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
1734
|
+
removeListener(event: string, listener: (...args: any[]) => void): this;
|
1735
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
1736
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
1737
|
+
emit(name: string, ...args: any[]): boolean;
|
1738
|
+
}
|
1739
|
+
// #endregion Runner untyped events
|
1740
|
+
|
1741
|
+
interface SuiteConstants {
|
1742
|
+
readonly EVENT_FILE_POST_REQUIRE: "post-require";
|
1743
|
+
readonly EVENT_FILE_PRE_REQUIRE: "pre-require";
|
1744
|
+
readonly EVENT_FILE_REQUIRE: "require";
|
1745
|
+
readonly EVENT_ROOT_SUITE_RUN: "run";
|
1746
|
+
|
1747
|
+
readonly HOOK_TYPE_AFTER_ALL: "afterAll";
|
1748
|
+
readonly HOOK_TYPE_AFTER_EACH: "afterEach";
|
1749
|
+
readonly HOOK_TYPE_BEFORE_ALL: "beforeAll";
|
1750
|
+
readonly HOOK_TYPE_BEFORE_EACH: "beforeEach";
|
1751
|
+
|
1752
|
+
readonly EVENT_SUITE_ADD_HOOK_AFTER_ALL: "afterAll";
|
1753
|
+
readonly EVENT_SUITE_ADD_HOOK_AFTER_EACH: "afterEach";
|
1754
|
+
readonly EVENT_SUITE_ADD_HOOK_BEFORE_ALL: "beforeAll";
|
1755
|
+
readonly EVENT_SUITE_ADD_HOOK_BEFORE_EACH: "beforeEach";
|
1756
|
+
readonly EVENT_SUITE_ADD_SUITE: "suite";
|
1757
|
+
readonly EVENT_SUITE_ADD_TEST: "test";
|
1758
|
+
}
|
1759
|
+
|
1760
|
+
/**
|
1761
|
+
* Initialize a new `Suite` with the given `title` and `ctx`.
|
1762
|
+
*
|
1763
|
+
* @see https://mochajs.org/api/Mocha.Suite.html
|
1764
|
+
*/
|
1765
|
+
class Suite {
|
1766
|
+
private _beforeEach;
|
1767
|
+
private _beforeAll;
|
1768
|
+
private _afterEach;
|
1769
|
+
private _afterAll;
|
1770
|
+
private _timeout;
|
1771
|
+
private _slow;
|
1772
|
+
private _bail;
|
1773
|
+
private _retries;
|
1774
|
+
private _onlyTests;
|
1775
|
+
private _onlySuites;
|
1776
|
+
|
1777
|
+
static readonly constants: SuiteConstants;
|
1778
|
+
|
1779
|
+
constructor(title: string, parentContext?: Context);
|
1780
|
+
|
1781
|
+
ctx: Context;
|
1782
|
+
suites: Suite[];
|
1783
|
+
tests: Test[];
|
1784
|
+
pending: boolean;
|
1785
|
+
file?: string | undefined;
|
1786
|
+
root: boolean;
|
1787
|
+
delayed: boolean;
|
1788
|
+
parent: Suite | undefined;
|
1789
|
+
title: string;
|
1790
|
+
|
1791
|
+
/**
|
1792
|
+
* Create a new `Suite` with the given `title` and parent `Suite`. When a suite
|
1793
|
+
* with the same title is already present, that suite is returned to provide
|
1794
|
+
* nicer reporter and more flexible meta-testing.
|
1795
|
+
*
|
1796
|
+
* @see https://mochajs.org/api/mocha#.exports.create
|
1797
|
+
*/
|
1798
|
+
static create(parent: Suite, title: string): Suite;
|
1799
|
+
|
1800
|
+
/**
|
1801
|
+
* Return a clone of this `Suite`.
|
1802
|
+
*
|
1803
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#clone
|
1804
|
+
*/
|
1805
|
+
clone(): Suite;
|
1806
|
+
|
1807
|
+
/**
|
1808
|
+
* Get timeout `ms`.
|
1809
|
+
*
|
1810
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#timeout
|
1811
|
+
*/
|
1812
|
+
timeout(): number;
|
1813
|
+
|
1814
|
+
/**
|
1815
|
+
* Set timeout `ms` or short-hand such as "2s".
|
1816
|
+
*
|
1817
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#timeout
|
1818
|
+
*/
|
1819
|
+
timeout(ms: string | number): this;
|
1820
|
+
|
1821
|
+
/**
|
1822
|
+
* Get number of times to retry a failed test.
|
1823
|
+
*
|
1824
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#retries
|
1825
|
+
*/
|
1826
|
+
retries(): number;
|
1827
|
+
|
1828
|
+
/**
|
1829
|
+
* Set number of times to retry a failed test.
|
1830
|
+
*
|
1831
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#retries
|
1832
|
+
*/
|
1833
|
+
retries(n: string | number): this;
|
1834
|
+
|
1835
|
+
/**
|
1836
|
+
* Get slow `ms`.
|
1837
|
+
*
|
1838
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#slow
|
1839
|
+
*/
|
1840
|
+
slow(): number;
|
1841
|
+
|
1842
|
+
/**
|
1843
|
+
* Set slow `ms` or short-hand such as "2s".
|
1844
|
+
*
|
1845
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#slow
|
1846
|
+
*/
|
1847
|
+
slow(ms: string | number): this;
|
1848
|
+
|
1849
|
+
/**
|
1850
|
+
* Get whether to bail after first error.
|
1851
|
+
*
|
1852
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#bail
|
1853
|
+
*/
|
1854
|
+
bail(): boolean;
|
1855
|
+
|
1856
|
+
/**
|
1857
|
+
* Set whether to bail after first error.
|
1858
|
+
*
|
1859
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#bail
|
1860
|
+
*/
|
1861
|
+
bail(bail: boolean): this;
|
1862
|
+
|
1863
|
+
/**
|
1864
|
+
* Check if this suite or its parent suite is marked as pending.
|
1865
|
+
*
|
1866
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#isPending
|
1867
|
+
*/
|
1868
|
+
isPending(): boolean;
|
1869
|
+
|
1870
|
+
/**
|
1871
|
+
* Run `fn(test[, done])` before running tests.
|
1872
|
+
*
|
1873
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
|
1874
|
+
*/
|
1875
|
+
beforeAll(fn?: Func): this;
|
1876
|
+
|
1877
|
+
/**
|
1878
|
+
* Run `fn(test[, done])` before running tests.
|
1879
|
+
*
|
1880
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
|
1881
|
+
*/
|
1882
|
+
beforeAll(fn?: AsyncFunc): this;
|
1883
|
+
|
1884
|
+
/**
|
1885
|
+
* Run `fn(test[, done])` before running tests.
|
1886
|
+
*
|
1887
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
|
1888
|
+
*/
|
1889
|
+
beforeAll(title: string, fn?: Func): this;
|
1890
|
+
|
1891
|
+
/**
|
1892
|
+
* Run `fn(test[, done])` before running tests.
|
1893
|
+
*
|
1894
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeAll
|
1895
|
+
*/
|
1896
|
+
beforeAll(title: string, fn?: AsyncFunc): this;
|
1897
|
+
|
1898
|
+
/**
|
1899
|
+
* Run `fn(test[, done])` after running tests.
|
1900
|
+
*
|
1901
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterAll
|
1902
|
+
*/
|
1903
|
+
afterAll(fn?: Func): this;
|
1904
|
+
|
1905
|
+
/**
|
1906
|
+
* Run `fn(test[, done])` after running tests.
|
1907
|
+
*
|
1908
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterAll
|
1909
|
+
*/
|
1910
|
+
afterAll(fn?: AsyncFunc): this;
|
1911
|
+
|
1912
|
+
/**
|
1913
|
+
* Run `fn(test[, done])` after running tests.
|
1914
|
+
*
|
1915
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterAll
|
1916
|
+
*/
|
1917
|
+
afterAll(title: string, fn?: Func): this;
|
1918
|
+
|
1919
|
+
/**
|
1920
|
+
* Run `fn(test[, done])` after running tests.
|
1921
|
+
*
|
1922
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterAll
|
1923
|
+
*/
|
1924
|
+
afterAll(title: string, fn?: AsyncFunc): this;
|
1925
|
+
|
1926
|
+
/**
|
1927
|
+
* Run `fn(test[, done])` before each test case.
|
1928
|
+
*
|
1929
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
|
1930
|
+
*/
|
1931
|
+
beforeEach(fn?: Func): this;
|
1932
|
+
|
1933
|
+
/**
|
1934
|
+
* Run `fn(test[, done])` before each test case.
|
1935
|
+
*
|
1936
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
|
1937
|
+
*/
|
1938
|
+
beforeEach(fn?: AsyncFunc): this;
|
1939
|
+
|
1940
|
+
/**
|
1941
|
+
* Run `fn(test[, done])` before each test case.
|
1942
|
+
*
|
1943
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
|
1944
|
+
*/
|
1945
|
+
beforeEach(title: string, fn?: Func): this;
|
1946
|
+
|
1947
|
+
/**
|
1948
|
+
* Run `fn(test[, done])` before each test case.
|
1949
|
+
*
|
1950
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#beforeEach
|
1951
|
+
*/
|
1952
|
+
beforeEach(title: string, fn?: AsyncFunc): this;
|
1953
|
+
|
1954
|
+
/**
|
1955
|
+
* Run `fn(test[, done])` after each test case.
|
1956
|
+
*
|
1957
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterEach
|
1958
|
+
*/
|
1959
|
+
afterEach(fn?: Func): this;
|
1960
|
+
|
1961
|
+
/**
|
1962
|
+
* Run `fn(test[, done])` after each test case.
|
1963
|
+
*
|
1964
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterEach
|
1965
|
+
*/
|
1966
|
+
afterEach(fn?: AsyncFunc): this;
|
1967
|
+
|
1968
|
+
/**
|
1969
|
+
* Run `fn(test[, done])` after each test case.
|
1970
|
+
*
|
1971
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterEach
|
1972
|
+
*/
|
1973
|
+
afterEach(title: string, fn?: Func): this;
|
1974
|
+
|
1975
|
+
/**
|
1976
|
+
* Run `fn(test[, done])` after each test case.
|
1977
|
+
*
|
1978
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#afterEach
|
1979
|
+
*/
|
1980
|
+
afterEach(title: string, fn?: AsyncFunc): this;
|
1981
|
+
|
1982
|
+
/**
|
1983
|
+
* Add a test `suite`.
|
1984
|
+
*
|
1985
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#addSuite
|
1986
|
+
*/
|
1987
|
+
addSuite(suite: Suite): this;
|
1988
|
+
|
1989
|
+
/**
|
1990
|
+
* Add a `test` to this suite.
|
1991
|
+
*
|
1992
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#addTest
|
1993
|
+
*/
|
1994
|
+
addTest(test: Test): this;
|
1995
|
+
|
1996
|
+
/**
|
1997
|
+
* Cleans all references from this suite and all child suites.
|
1998
|
+
*
|
1999
|
+
* https://mochajs.org/api/suite#dispose
|
2000
|
+
*/
|
2001
|
+
dispose(): void;
|
2002
|
+
|
2003
|
+
/**
|
2004
|
+
* Return the full title generated by recursively concatenating the parent's
|
2005
|
+
* full title.
|
2006
|
+
*
|
2007
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#.Suite#fullTitle
|
2008
|
+
*/
|
2009
|
+
fullTitle(): string;
|
2010
|
+
|
2011
|
+
/**
|
2012
|
+
* Return the title path generated by recursively concatenating the parent's
|
2013
|
+
* title path.
|
2014
|
+
*
|
2015
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#.Suite#titlePath
|
2016
|
+
*/
|
2017
|
+
titlePath(): string[];
|
2018
|
+
|
2019
|
+
/**
|
2020
|
+
* Return the total number of tests.
|
2021
|
+
*
|
2022
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#.Suite#total
|
2023
|
+
*/
|
2024
|
+
total(): number;
|
2025
|
+
|
2026
|
+
/**
|
2027
|
+
* Iterates through each suite recursively to find all tests. Applies a
|
2028
|
+
* function in the format `fn(test)`.
|
2029
|
+
*
|
2030
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#eachTest
|
2031
|
+
*/
|
2032
|
+
eachTest(fn: (test: Test) => void): this;
|
2033
|
+
|
2034
|
+
/**
|
2035
|
+
* This will run the root suite if we happen to be running in delayed mode.
|
2036
|
+
*
|
2037
|
+
* @see https://mochajs.org/api/Mocha.Suite.html#run
|
2038
|
+
*/
|
2039
|
+
run(): void;
|
2040
|
+
|
2041
|
+
/**
|
2042
|
+
* Generic hook-creator.
|
2043
|
+
*/
|
2044
|
+
protected _createHook(title: string, fn?: Func | AsyncFunc): Hook;
|
2045
|
+
}
|
2046
|
+
|
2047
|
+
// #region Suite "beforeAll" event
|
2048
|
+
interface Suite extends NodeJS.EventEmitter {
|
2049
|
+
on(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2050
|
+
once(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2051
|
+
addListener(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2052
|
+
removeListener(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2053
|
+
prependListener(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2054
|
+
prependOnceListener(event: "beforeAll", listener: (hook: Hook) => void): this;
|
2055
|
+
emit(name: "beforeAll", hook: Hook): boolean;
|
2056
|
+
}
|
2057
|
+
// #endregion Suite "beforeAll" event
|
2058
|
+
// #region Suite "afterAll" event
|
2059
|
+
interface Suite extends NodeJS.EventEmitter {
|
2060
|
+
on(event: "afterAll", listener: (hook: Hook) => void): this;
|
2061
|
+
once(event: "afterAll", listener: (hook: Hook) => void): this;
|
2062
|
+
addListener(event: "afterAll", listener: (hook: Hook) => void): this;
|
2063
|
+
removeListener(event: "afterAll", listener: (hook: Hook) => void): this;
|
2064
|
+
prependListener(event: "afterAll", listener: (hook: Hook) => void): this;
|
2065
|
+
prependOnceListener(event: "afterAll", listener: (hook: Hook) => void): this;
|
2066
|
+
emit(name: "afterAll", hook: Hook): boolean;
|
2067
|
+
}
|
2068
|
+
// #endregion Suite "afterAll" event
|
2069
|
+
// #region Suite "beforeEach" event
|
2070
|
+
interface Suite extends NodeJS.EventEmitter {
|
2071
|
+
on(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2072
|
+
once(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2073
|
+
addListener(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2074
|
+
removeListener(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2075
|
+
prependListener(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2076
|
+
prependOnceListener(event: "beforeEach", listener: (hook: Hook) => void): this;
|
2077
|
+
emit(name: "beforeEach", hook: Hook): boolean;
|
2078
|
+
}
|
2079
|
+
// #endregion Suite "beforeEach" event
|
2080
|
+
// #region Suite "afterEach" event
|
2081
|
+
interface Suite extends NodeJS.EventEmitter {
|
2082
|
+
on(event: "afterEach", listener: (hook: Hook) => void): this;
|
2083
|
+
once(event: "afterEach", listener: (hook: Hook) => void): this;
|
2084
|
+
addListener(event: "afterEach", listener: (hook: Hook) => void): this;
|
2085
|
+
removeListener(event: "afterEach", listener: (hook: Hook) => void): this;
|
2086
|
+
prependListener(event: "afterEach", listener: (hook: Hook) => void): this;
|
2087
|
+
prependOnceListener(event: "afterEach", listener: (hook: Hook) => void): this;
|
2088
|
+
emit(name: "afterEach", hook: Hook): boolean;
|
2089
|
+
}
|
2090
|
+
// #endregion Suite "afterEach" event
|
2091
|
+
// #region Suite "suite" event
|
2092
|
+
interface Suite extends NodeJS.EventEmitter {
|
2093
|
+
on(event: "suite", listener: (suite: Suite) => void): this;
|
2094
|
+
once(event: "suite", listener: (suite: Suite) => void): this;
|
2095
|
+
addListener(event: "suite", listener: (suite: Suite) => void): this;
|
2096
|
+
removeListener(event: "suite", listener: (suite: Suite) => void): this;
|
2097
|
+
prependListener(event: "suite", listener: (suite: Suite) => void): this;
|
2098
|
+
prependOnceListener(event: "suite", listener: (suite: Suite) => void): this;
|
2099
|
+
emit(name: "suite", suite: Suite): boolean;
|
2100
|
+
}
|
2101
|
+
// #endregion Suite "suite" event
|
2102
|
+
// #region Suite "test" event
|
2103
|
+
interface Suite {
|
2104
|
+
on(event: "test", listener: (test: Test) => void): this;
|
2105
|
+
once(event: "test", listener: (test: Test) => void): this;
|
2106
|
+
addListener(event: "test", listener: (test: Test) => void): this;
|
2107
|
+
removeListener(event: "test", listener: (test: Test) => void): this;
|
2108
|
+
prependListener(event: "test", listener: (test: Test) => void): this;
|
2109
|
+
prependOnceListener(event: "test", listener: (test: Test) => void): this;
|
2110
|
+
emit(name: "test", test: Test): boolean;
|
2111
|
+
}
|
2112
|
+
// #endregion Suite "test" event
|
2113
|
+
// #region Suite "run" event
|
2114
|
+
interface Suite extends NodeJS.EventEmitter {
|
2115
|
+
on(event: "run", listener: () => void): this;
|
2116
|
+
once(event: "run", listener: () => void): this;
|
2117
|
+
addListener(event: "run", listener: () => void): this;
|
2118
|
+
removeListener(event: "run", listener: () => void): this;
|
2119
|
+
prependListener(event: "run", listener: () => void): this;
|
2120
|
+
prependOnceListener(event: "run", listener: () => void): this;
|
2121
|
+
emit(name: "run"): boolean;
|
2122
|
+
}
|
2123
|
+
// #endregion Suite "run" event
|
2124
|
+
// #region Suite "pre-require" event
|
2125
|
+
interface Suite extends NodeJS.EventEmitter {
|
2126
|
+
on(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2127
|
+
once(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2128
|
+
addListener(event: "pre-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2129
|
+
removeListener(
|
2130
|
+
event: "pre-require",
|
2131
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2132
|
+
): this;
|
2133
|
+
prependListener(
|
2134
|
+
event: "pre-require",
|
2135
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2136
|
+
): this;
|
2137
|
+
prependOnceListener(
|
2138
|
+
event: "pre-require",
|
2139
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2140
|
+
): this;
|
2141
|
+
emit(name: "pre-require", context: MochaGlobals, file: string, mocha: Mocha): boolean;
|
2142
|
+
}
|
2143
|
+
// #endregion Suite "pre-require" event
|
2144
|
+
// #region Suite "require" event
|
2145
|
+
interface Suite extends NodeJS.EventEmitter {
|
2146
|
+
on(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2147
|
+
once(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2148
|
+
addListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2149
|
+
removeListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2150
|
+
prependListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2151
|
+
prependOnceListener(event: "require", listener: (module: any, file: string, mocha: Mocha) => void): this;
|
2152
|
+
emit(name: "require", module: any, file: string, mocha: Mocha): boolean;
|
2153
|
+
}
|
2154
|
+
// #endregion Suite "require" event
|
2155
|
+
// #region Suite "post-require" event
|
2156
|
+
interface Suite extends NodeJS.EventEmitter {
|
2157
|
+
on(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2158
|
+
once(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2159
|
+
addListener(event: "post-require", listener: (context: MochaGlobals, file: string, mocha: Mocha) => void): this;
|
2160
|
+
removeListener(
|
2161
|
+
event: "post-require",
|
2162
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2163
|
+
): this;
|
2164
|
+
prependListener(
|
2165
|
+
event: "post-require",
|
2166
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2167
|
+
): this;
|
2168
|
+
prependOnceListener(
|
2169
|
+
event: "post-require",
|
2170
|
+
listener: (context: MochaGlobals, file: string, mocha: Mocha) => void,
|
2171
|
+
): this;
|
2172
|
+
emit(name: "post-require", context: MochaGlobals, file: string, mocha: Mocha): boolean;
|
2173
|
+
}
|
2174
|
+
// #endregion Suite "post-require" event
|
2175
|
+
// #region Suite untyped events
|
2176
|
+
interface Suite extends NodeJS.EventEmitter {
|
2177
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
2178
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
2179
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
2180
|
+
removeListener(event: string, listener: (...args: any[]) => void): this;
|
2181
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
2182
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
2183
|
+
emit(name: string, ...args: any[]): boolean;
|
2184
|
+
}
|
2185
|
+
// #endregion Runner untyped events
|
2186
|
+
|
2187
|
+
/**
|
2188
|
+
* Initialize a new `Hook` with the given `title` and callback `fn`
|
2189
|
+
*
|
2190
|
+
* @see https://mochajs.org/api/Hook.html
|
2191
|
+
*/
|
2192
|
+
class Hook extends Runnable {
|
2193
|
+
private _error;
|
2194
|
+
|
2195
|
+
type: "hook";
|
2196
|
+
originalTitle?: string | undefined; // added by Runner
|
2197
|
+
|
2198
|
+
/**
|
2199
|
+
* Get the test `err`.
|
2200
|
+
*
|
2201
|
+
* @see https://mochajs.org/api/Hook.html#error
|
2202
|
+
*/
|
2203
|
+
error(): any;
|
2204
|
+
|
2205
|
+
/**
|
2206
|
+
* Set the test `err`.
|
2207
|
+
*
|
2208
|
+
* @see https://mochajs.org/api/Hook.html#error
|
2209
|
+
*/
|
2210
|
+
error(err: any): void;
|
2211
|
+
}
|
2212
|
+
|
2213
|
+
/**
|
2214
|
+
* An alternative way to define root hooks that works with parallel runs.
|
2215
|
+
*
|
2216
|
+
* Root hooks work with any interface, but the property names do not change.
|
2217
|
+
* In other words, if you are using the tdd interface, suiteSetup maps to beforeAll, and setup maps to beforeEach.
|
2218
|
+
*
|
2219
|
+
* As with other hooks, `this` refers to to the current context object.
|
2220
|
+
*
|
2221
|
+
* @see https://mochajs.org/#root-hook-plugins
|
2222
|
+
*/
|
2223
|
+
interface RootHookObject {
|
2224
|
+
/**
|
2225
|
+
* In serial mode, run after all tests end, once only.
|
2226
|
+
* In parallel mode, run after all tests end, for each file.
|
2227
|
+
*/
|
2228
|
+
afterAll?: Func | AsyncFunc | Func[] | AsyncFunc[] | undefined;
|
2229
|
+
/**
|
2230
|
+
* In serial mode (Mocha's default), before all tests begin, once only.
|
2231
|
+
* In parallel mode, run before all tests begin, for each file.
|
2232
|
+
*/
|
2233
|
+
beforeAll?: Func | AsyncFunc | Func[] | AsyncFunc[] | undefined;
|
2234
|
+
/**
|
2235
|
+
* In both modes, run after every test.
|
2236
|
+
*/
|
2237
|
+
afterEach?: Func | AsyncFunc | Func[] | AsyncFunc[] | undefined;
|
2238
|
+
/**
|
2239
|
+
* In both modes, run before each test.
|
2240
|
+
*/
|
2241
|
+
beforeEach?: Func | AsyncFunc | Func[] | AsyncFunc[] | undefined;
|
2242
|
+
}
|
2243
|
+
|
2244
|
+
/**
|
2245
|
+
* Initialize a new `Test` with the given `title` and callback `fn`.
|
2246
|
+
*
|
2247
|
+
* @see https://mochajs.org/api/Test.html
|
2248
|
+
*/
|
2249
|
+
class Test extends Runnable {
|
2250
|
+
type: "test";
|
2251
|
+
speed?: "slow" | "medium" | "fast" | undefined; // added by reporters
|
2252
|
+
err?: Error | undefined; // added by reporters
|
2253
|
+
clone(): Test;
|
2254
|
+
}
|
2255
|
+
|
2256
|
+
/**
|
2257
|
+
* Test statistics
|
2258
|
+
*/
|
2259
|
+
interface Stats {
|
2260
|
+
suites: number;
|
2261
|
+
tests: number;
|
2262
|
+
passes: number;
|
2263
|
+
pending: number;
|
2264
|
+
failures: number;
|
2265
|
+
start?: Date | undefined;
|
2266
|
+
end?: Date | undefined;
|
2267
|
+
duration?: number | undefined;
|
2268
|
+
}
|
2269
|
+
|
2270
|
+
type TestInterface = (suite: Suite) => void;
|
2271
|
+
|
2272
|
+
interface ReporterConstructor {
|
2273
|
+
new(runner: Runner, options: MochaOptions): reporters.Base;
|
2274
|
+
}
|
2275
|
+
|
2276
|
+
type Done = (err?: any) => void;
|
2277
|
+
|
2278
|
+
/**
|
2279
|
+
* Callback function used for tests and hooks.
|
2280
|
+
*/
|
2281
|
+
type Func = (this: Context, done: Done) => void;
|
2282
|
+
|
2283
|
+
/**
|
2284
|
+
* Async callback function used for tests and hooks.
|
2285
|
+
*/
|
2286
|
+
type AsyncFunc = (this: Context) => PromiseLike<any>;
|
2287
|
+
|
2288
|
+
/**
|
2289
|
+
* Options to pass to Mocha.
|
2290
|
+
*/
|
2291
|
+
interface MochaOptions {
|
2292
|
+
/** Propagate uncaught errors? */
|
2293
|
+
allowUncaught?: boolean | undefined;
|
2294
|
+
|
2295
|
+
/** Force `done` callback or promise? */
|
2296
|
+
asyncOnly?: boolean | undefined;
|
2297
|
+
|
2298
|
+
/** bail on the first test failure. */
|
2299
|
+
bail?: boolean | undefined;
|
2300
|
+
|
2301
|
+
/** Check for global variable leaks? */
|
2302
|
+
checkLeaks?: boolean | undefined;
|
2303
|
+
|
2304
|
+
/** Color TTY output from reporter */
|
2305
|
+
color?: boolean | undefined;
|
2306
|
+
|
2307
|
+
/** Delay root suite execution? */
|
2308
|
+
delay?: boolean | undefined;
|
2309
|
+
|
2310
|
+
/** Show diff on failure? */
|
2311
|
+
diff?: boolean | undefined;
|
2312
|
+
|
2313
|
+
/** Report tests without running them? */
|
2314
|
+
dryRun?: boolean | undefined;
|
2315
|
+
|
2316
|
+
/** Test filter given string. */
|
2317
|
+
fgrep?: string | undefined;
|
2318
|
+
|
2319
|
+
/** Tests marked `only` fail the suite? */
|
2320
|
+
forbidOnly?: boolean | undefined;
|
2321
|
+
|
2322
|
+
/** Pending tests fail the suite? */
|
2323
|
+
forbidPending?: boolean | undefined;
|
2324
|
+
|
2325
|
+
/** Full stacktrace upon failure? */
|
2326
|
+
fullTrace?: boolean | undefined;
|
2327
|
+
|
2328
|
+
/** Variables expected in global scope. */
|
2329
|
+
globals?: string[] | undefined;
|
2330
|
+
|
2331
|
+
/** Test filter given regular expression. */
|
2332
|
+
grep?: string | RegExp | undefined;
|
2333
|
+
|
2334
|
+
/** Enable desktop notifications? */
|
2335
|
+
growl?: boolean | undefined;
|
2336
|
+
|
2337
|
+
/** Display inline diffs? */
|
2338
|
+
inlineDiffs?: boolean | undefined;
|
2339
|
+
|
2340
|
+
/** Invert test filter matches? */
|
2341
|
+
invert?: boolean | undefined;
|
2342
|
+
|
2343
|
+
/** Disable syntax highlighting? */
|
2344
|
+
noHighlighting?: boolean | undefined;
|
2345
|
+
|
2346
|
+
/** Reporter name or constructor. */
|
2347
|
+
reporter?: string | ReporterConstructor | undefined;
|
2348
|
+
|
2349
|
+
/** Reporter settings object. */
|
2350
|
+
reporterOptions?: any;
|
2351
|
+
|
2352
|
+
/** Number of times to retry failed tests. */
|
2353
|
+
retries?: number | undefined;
|
2354
|
+
|
2355
|
+
/** Slow threshold value. */
|
2356
|
+
slow?: number | undefined;
|
2357
|
+
|
2358
|
+
/** Timeout threshold value. */
|
2359
|
+
timeout?: number | string | undefined;
|
2360
|
+
|
2361
|
+
/** Interface name. */
|
2362
|
+
ui?: Interface | undefined;
|
2363
|
+
|
2364
|
+
/** Run jobs in parallel */
|
2365
|
+
parallel?: boolean | undefined;
|
2366
|
+
|
2367
|
+
/** Max number of worker processes for parallel runs. */
|
2368
|
+
jobs?: number | undefined;
|
2369
|
+
|
2370
|
+
/** Hooks to bootstrap the root suite with. */
|
2371
|
+
rootHooks?: RootHookObject | undefined;
|
2372
|
+
|
2373
|
+
/** Pathname of `rootHooks` plugin for parallel runs. */
|
2374
|
+
require?: string[] | undefined;
|
2375
|
+
|
2376
|
+
/** Should be `true` if `Mocha` process is running in a worker process. */
|
2377
|
+
isWorker?: boolean | undefined;
|
2378
|
+
}
|
2379
|
+
|
2380
|
+
interface MochaInstanceOptions extends MochaOptions {
|
2381
|
+
files?: string[] | undefined;
|
2382
|
+
}
|
2383
|
+
|
2384
|
+
/**
|
2385
|
+
* Variables added to the global scope by Mocha when run in the CLI.
|
2386
|
+
*/
|
2387
|
+
interface MochaGlobals {
|
2388
|
+
/**
|
2389
|
+
* Execute before running tests.
|
2390
|
+
*
|
2391
|
+
* - _Only available when invoked via the mocha CLI._
|
2392
|
+
*
|
2393
|
+
* @see https://mochajs.org/api/global.html#before
|
2394
|
+
*/
|
2395
|
+
before: HookFunction;
|
2396
|
+
|
2397
|
+
/**
|
2398
|
+
* Execute after running tests.
|
2399
|
+
*
|
2400
|
+
* - _Only available when invoked via the mocha CLI._
|
2401
|
+
*
|
2402
|
+
* @see https://mochajs.org/api/global.html#after
|
2403
|
+
*/
|
2404
|
+
after: HookFunction;
|
2405
|
+
|
2406
|
+
/**
|
2407
|
+
* Execute before each test case.
|
2408
|
+
*
|
2409
|
+
* - _Only available when invoked via the mocha CLI._
|
2410
|
+
*
|
2411
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
2412
|
+
*/
|
2413
|
+
beforeEach: HookFunction;
|
2414
|
+
|
2415
|
+
/**
|
2416
|
+
* Execute after each test case.
|
2417
|
+
*
|
2418
|
+
* - _Only available when invoked via the mocha CLI._
|
2419
|
+
*
|
2420
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
2421
|
+
*/
|
2422
|
+
afterEach: HookFunction;
|
2423
|
+
|
2424
|
+
/**
|
2425
|
+
* Describe a "suite" containing nested suites and tests.
|
2426
|
+
*
|
2427
|
+
* - _Only available when invoked via the mocha CLI._
|
2428
|
+
*/
|
2429
|
+
describe: SuiteFunction;
|
2430
|
+
|
2431
|
+
/**
|
2432
|
+
* Describe a "suite" containing nested suites and tests.
|
2433
|
+
*
|
2434
|
+
* - _Only available when invoked via the mocha CLI._
|
2435
|
+
*/
|
2436
|
+
context: SuiteFunction;
|
2437
|
+
|
2438
|
+
/**
|
2439
|
+
* Pending suite.
|
2440
|
+
*
|
2441
|
+
* - _Only available when invoked via the mocha CLI._
|
2442
|
+
*/
|
2443
|
+
xdescribe: PendingSuiteFunction;
|
2444
|
+
|
2445
|
+
/**
|
2446
|
+
* Pending suite.
|
2447
|
+
*
|
2448
|
+
* - _Only available when invoked via the mocha CLI._
|
2449
|
+
*/
|
2450
|
+
xcontext: PendingSuiteFunction;
|
2451
|
+
|
2452
|
+
/**
|
2453
|
+
* Describes a test case.
|
2454
|
+
*
|
2455
|
+
* - _Only available when invoked via the mocha CLI._
|
2456
|
+
*/
|
2457
|
+
it: TestFunction;
|
2458
|
+
|
2459
|
+
/**
|
2460
|
+
* Describes a test case.
|
2461
|
+
*
|
2462
|
+
* - _Only available when invoked via the mocha CLI._
|
2463
|
+
*/
|
2464
|
+
specify: TestFunction;
|
2465
|
+
|
2466
|
+
/**
|
2467
|
+
* Describes a pending test case.
|
2468
|
+
*
|
2469
|
+
* - _Only available when invoked via the mocha CLI._
|
2470
|
+
*/
|
2471
|
+
xit: PendingTestFunction;
|
2472
|
+
|
2473
|
+
/**
|
2474
|
+
* Describes a pending test case.
|
2475
|
+
*
|
2476
|
+
* - _Only available when invoked via the mocha CLI._
|
2477
|
+
*/
|
2478
|
+
xspecify: PendingTestFunction;
|
2479
|
+
|
2480
|
+
/**
|
2481
|
+
* Execute before running tests.
|
2482
|
+
*
|
2483
|
+
* - _Only available when invoked via the mocha CLI._
|
2484
|
+
*
|
2485
|
+
* @see https://mochajs.org/api/global.html#before
|
2486
|
+
*/
|
2487
|
+
suiteSetup: HookFunction;
|
2488
|
+
|
2489
|
+
/**
|
2490
|
+
* Execute after running tests.
|
2491
|
+
*
|
2492
|
+
* - _Only available when invoked via the mocha CLI._
|
2493
|
+
*
|
2494
|
+
* @see https://mochajs.org/api/global.html#after
|
2495
|
+
*/
|
2496
|
+
suiteTeardown: HookFunction;
|
2497
|
+
|
2498
|
+
/**
|
2499
|
+
* Execute before each test case.
|
2500
|
+
*
|
2501
|
+
* - _Only available when invoked via the mocha CLI._
|
2502
|
+
*
|
2503
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
2504
|
+
*/
|
2505
|
+
setup: HookFunction;
|
2506
|
+
|
2507
|
+
/**
|
2508
|
+
* Execute after each test case.
|
2509
|
+
*
|
2510
|
+
* - _Only available when invoked via the mocha CLI._
|
2511
|
+
*
|
2512
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
2513
|
+
*/
|
2514
|
+
teardown: HookFunction;
|
2515
|
+
|
2516
|
+
/**
|
2517
|
+
* Describe a "suite" containing nested suites and tests.
|
2518
|
+
*
|
2519
|
+
* - _Only available when invoked via the mocha CLI._
|
2520
|
+
*/
|
2521
|
+
suite: SuiteFunction;
|
2522
|
+
|
2523
|
+
/**
|
2524
|
+
* Describes a test case.
|
2525
|
+
*
|
2526
|
+
* - _Only available when invoked via the mocha CLI._
|
2527
|
+
*/
|
2528
|
+
test: TestFunction;
|
2529
|
+
|
2530
|
+
run: typeof run;
|
2531
|
+
}
|
2532
|
+
|
2533
|
+
/**
|
2534
|
+
* Third-party declarations that want to add new entries to the `Reporter` union can
|
2535
|
+
* contribute names here.
|
2536
|
+
*/
|
2537
|
+
interface ReporterContributions {
|
2538
|
+
Base: never;
|
2539
|
+
base: never;
|
2540
|
+
Dot: never;
|
2541
|
+
dot: never;
|
2542
|
+
TAP: never;
|
2543
|
+
tap: never;
|
2544
|
+
JSON: never;
|
2545
|
+
json: never;
|
2546
|
+
HTML: never;
|
2547
|
+
html: never;
|
2548
|
+
List: never;
|
2549
|
+
list: never;
|
2550
|
+
Min: never;
|
2551
|
+
min: never;
|
2552
|
+
Spec: never;
|
2553
|
+
spec: never;
|
2554
|
+
Nyan: never;
|
2555
|
+
nyan: never;
|
2556
|
+
XUnit: never;
|
2557
|
+
xunit: never;
|
2558
|
+
Markdown: never;
|
2559
|
+
markdown: never;
|
2560
|
+
Progress: never;
|
2561
|
+
progress: never;
|
2562
|
+
Landing: never;
|
2563
|
+
landing: never;
|
2564
|
+
JSONStream: never;
|
2565
|
+
"json-stream": never;
|
2566
|
+
}
|
2567
|
+
|
2568
|
+
type Reporter = keyof ReporterContributions;
|
2569
|
+
|
2570
|
+
/**
|
2571
|
+
* Third-party declarations that want to add new entries to the `Interface` union can
|
2572
|
+
* contribute names here.
|
2573
|
+
*/
|
2574
|
+
interface InterfaceContributions {
|
2575
|
+
bdd: never;
|
2576
|
+
tdd: never;
|
2577
|
+
qunit: never;
|
2578
|
+
exports: never;
|
2579
|
+
}
|
2580
|
+
|
2581
|
+
type Interface = keyof InterfaceContributions;
|
2582
|
+
}
|
2583
|
+
|
2584
|
+
// #region Test interface augmentations
|
2585
|
+
|
2586
|
+
/**
|
2587
|
+
* Triggers root suite execution.
|
2588
|
+
*
|
2589
|
+
* - _Only available if flag --delay is passed into Mocha._
|
2590
|
+
* - _Only available when invoked via the mocha CLI._
|
2591
|
+
*
|
2592
|
+
* @see https://mochajs.org/api/global.html#runWithSuite
|
2593
|
+
*/
|
2594
|
+
declare function run(): void;
|
2595
|
+
|
2596
|
+
/**
|
2597
|
+
* Execute before running tests.
|
2598
|
+
*
|
2599
|
+
* - _Only available when invoked via the mocha CLI._
|
2600
|
+
*
|
2601
|
+
* @see https://mochajs.org/api/global.html#before
|
2602
|
+
*/
|
2603
|
+
declare var before: Mocha.HookFunction;
|
2604
|
+
|
2605
|
+
/**
|
2606
|
+
* Execute before running tests.
|
2607
|
+
*
|
2608
|
+
* - _Only available when invoked via the mocha CLI._
|
2609
|
+
*
|
2610
|
+
* @see https://mochajs.org/api/global.html#before
|
2611
|
+
*/
|
2612
|
+
declare var suiteSetup: Mocha.HookFunction;
|
2613
|
+
|
2614
|
+
/**
|
2615
|
+
* Execute after running tests.
|
2616
|
+
*
|
2617
|
+
* - _Only available when invoked via the mocha CLI._
|
2618
|
+
*
|
2619
|
+
* @see https://mochajs.org/api/global.html#after
|
2620
|
+
*/
|
2621
|
+
declare var after: Mocha.HookFunction;
|
2622
|
+
|
2623
|
+
/**
|
2624
|
+
* Execute after running tests.
|
2625
|
+
*
|
2626
|
+
* - _Only available when invoked via the mocha CLI._
|
2627
|
+
*
|
2628
|
+
* @see https://mochajs.org/api/global.html#after
|
2629
|
+
*/
|
2630
|
+
declare var suiteTeardown: Mocha.HookFunction;
|
2631
|
+
|
2632
|
+
/**
|
2633
|
+
* Execute before each test case.
|
2634
|
+
*
|
2635
|
+
* - _Only available when invoked via the mocha CLI._
|
2636
|
+
*
|
2637
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
2638
|
+
*/
|
2639
|
+
declare var beforeEach: Mocha.HookFunction;
|
2640
|
+
|
2641
|
+
/**
|
2642
|
+
* Execute before each test case.
|
2643
|
+
*
|
2644
|
+
* - _Only available when invoked via the mocha CLI._
|
2645
|
+
*
|
2646
|
+
* @see https://mochajs.org/api/global.html#beforeEach
|
2647
|
+
*/
|
2648
|
+
declare var setup: Mocha.HookFunction;
|
2649
|
+
|
2650
|
+
/**
|
2651
|
+
* Execute after each test case.
|
2652
|
+
*
|
2653
|
+
* - _Only available when invoked via the mocha CLI._
|
2654
|
+
*
|
2655
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
2656
|
+
*/
|
2657
|
+
declare var afterEach: Mocha.HookFunction;
|
2658
|
+
|
2659
|
+
/**
|
2660
|
+
* Execute after each test case.
|
2661
|
+
*
|
2662
|
+
* - _Only available when invoked via the mocha CLI._
|
2663
|
+
*
|
2664
|
+
* @see https://mochajs.org/api/global.html#afterEach
|
2665
|
+
*/
|
2666
|
+
declare var teardown: Mocha.HookFunction;
|
2667
|
+
|
2668
|
+
/**
|
2669
|
+
* Describe a "suite" containing nested suites and tests.
|
2670
|
+
*
|
2671
|
+
* - _Only available when invoked via the mocha CLI._
|
2672
|
+
*/
|
2673
|
+
declare var describe: Mocha.SuiteFunction;
|
2674
|
+
|
2675
|
+
/**
|
2676
|
+
* Describe a "suite" containing nested suites and tests.
|
2677
|
+
*
|
2678
|
+
* - _Only available when invoked via the mocha CLI._
|
2679
|
+
*/
|
2680
|
+
declare var context: Mocha.SuiteFunction;
|
2681
|
+
|
2682
|
+
/**
|
2683
|
+
* Describe a "suite" containing nested suites and tests.
|
2684
|
+
*
|
2685
|
+
* - _Only available when invoked via the mocha CLI._
|
2686
|
+
*/
|
2687
|
+
declare var suite: Mocha.SuiteFunction;
|
2688
|
+
|
2689
|
+
/**
|
2690
|
+
* Pending suite.
|
2691
|
+
*
|
2692
|
+
* - _Only available when invoked via the mocha CLI._
|
2693
|
+
*/
|
2694
|
+
declare var xdescribe: Mocha.PendingSuiteFunction;
|
2695
|
+
|
2696
|
+
/**
|
2697
|
+
* Pending suite.
|
2698
|
+
*
|
2699
|
+
* - _Only available when invoked via the mocha CLI._
|
2700
|
+
*/
|
2701
|
+
declare var xcontext: Mocha.PendingSuiteFunction;
|
2702
|
+
|
2703
|
+
/**
|
2704
|
+
* Describes a test case.
|
2705
|
+
*
|
2706
|
+
* - _Only available when invoked via the mocha CLI._
|
2707
|
+
*/
|
2708
|
+
declare var it: Mocha.TestFunction;
|
2709
|
+
|
2710
|
+
/**
|
2711
|
+
* Describes a test case.
|
2712
|
+
*
|
2713
|
+
* - _Only available when invoked via the mocha CLI._
|
2714
|
+
*/
|
2715
|
+
declare var specify: Mocha.TestFunction;
|
2716
|
+
|
2717
|
+
/**
|
2718
|
+
* Describes a test case.
|
2719
|
+
*
|
2720
|
+
* - _Only available when invoked via the mocha CLI._
|
2721
|
+
*/
|
2722
|
+
declare var test: Mocha.TestFunction;
|
2723
|
+
|
2724
|
+
/**
|
2725
|
+
* Describes a pending test case.
|
2726
|
+
*
|
2727
|
+
* - _Only available when invoked via the mocha CLI._
|
2728
|
+
*/
|
2729
|
+
declare var xit: Mocha.PendingTestFunction;
|
2730
|
+
|
2731
|
+
/**
|
2732
|
+
* Describes a pending test case.
|
2733
|
+
*
|
2734
|
+
* - _Only available when invoked via the mocha CLI._
|
2735
|
+
*/
|
2736
|
+
declare var xspecify: Mocha.PendingTestFunction;
|
2737
|
+
|
2738
|
+
// #endregion Test interface augmentations
|
2739
|
+
|
2740
|
+
// #region Reporter augmentations
|
2741
|
+
|
2742
|
+
// Forward declaration for `HTMLLIElement` from lib.dom.d.ts.
|
2743
|
+
// Required by Mocha.reporters.HTML.
|
2744
|
+
// NOTE: Mocha *must not* have a direct dependency on DOM types.
|
2745
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2746
|
+
interface HTMLLIElement {}
|
2747
|
+
|
2748
|
+
// Augments the DOM `Window` object when lib.dom.d.ts is loaded.
|
2749
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2750
|
+
interface Window extends Mocha.MochaGlobals {}
|
2751
|
+
|
2752
|
+
declare namespace NodeJS {
|
2753
|
+
// Forward declaration for `NodeJS.EventEmitter` from node.d.ts.
|
2754
|
+
// Required by Mocha.Runnable, Mocha.Runner, and Mocha.Suite.
|
2755
|
+
// NOTE: Mocha *must not* have a direct dependency on @types/node.
|
2756
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2757
|
+
interface EventEmitter {}
|
2758
|
+
|
2759
|
+
// Augments NodeJS's `global` object when node.d.ts is loaded
|
2760
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
2761
|
+
interface Global extends Mocha.MochaGlobals {}
|
2762
|
+
}
|
2763
|
+
|
2764
|
+
// #endregion Reporter augmentations
|
2765
|
+
|
2766
|
+
// #region Browser augmentations
|
2767
|
+
|
2768
|
+
/**
|
2769
|
+
* Mocha global.
|
2770
|
+
*
|
2771
|
+
* - _Only supported in the browser._
|
2772
|
+
*/
|
2773
|
+
declare const mocha: BrowserMocha;
|
2774
|
+
|
2775
|
+
interface BrowserMocha extends Mocha {
|
2776
|
+
/**
|
2777
|
+
* Function to allow assertion libraries to throw errors directly into mocha.
|
2778
|
+
* This is useful when running tests in a browser because window.onerror will
|
2779
|
+
* only receive the 'message' attribute of the Error.
|
2780
|
+
*
|
2781
|
+
* - _Only supported in the browser._
|
2782
|
+
*/
|
2783
|
+
throwError(err: any): never;
|
2784
|
+
|
2785
|
+
/**
|
2786
|
+
* Setup mocha with the given settings options.
|
2787
|
+
*
|
2788
|
+
* - _Only supported in the browser._
|
2789
|
+
*/
|
2790
|
+
setup(opts?: Mocha.Interface | Mocha.MochaOptions): this;
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
// #endregion Browser augmentations
|
2794
|
+
|
2795
|
+
declare module "mocha" {
|
2796
|
+
export = Mocha;
|
2797
|
+
}
|
2798
|
+
|
2799
|
+
declare module "mocha/lib/stats-collector" {
|
2800
|
+
export = createStatsCollector;
|
2801
|
+
|
2802
|
+
/**
|
2803
|
+
* Provides stats such as test duration, number of tests passed / failed etc., by listening for events emitted by `runner`.
|
2804
|
+
*/
|
2805
|
+
function createStatsCollector(runner: Mocha.Runner): void;
|
2806
|
+
}
|
2807
|
+
|
2808
|
+
declare module "mocha/lib/interfaces/common" {
|
2809
|
+
export = common;
|
2810
|
+
|
2811
|
+
function common(suites: Mocha.Suite[], context: Mocha.MochaGlobals, mocha: Mocha): common.CommonFunctions;
|
2812
|
+
|
2813
|
+
namespace common {
|
2814
|
+
interface CommonFunctions {
|
2815
|
+
/**
|
2816
|
+
* This is only present if flag --delay is passed into Mocha. It triggers
|
2817
|
+
* root suite execution.
|
2818
|
+
*/
|
2819
|
+
runWithSuite(suite: Mocha.Suite): () => void;
|
2820
|
+
|
2821
|
+
/**
|
2822
|
+
* Execute before running tests.
|
2823
|
+
*/
|
2824
|
+
before(fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2825
|
+
|
2826
|
+
/**
|
2827
|
+
* Execute before running tests.
|
2828
|
+
*/
|
2829
|
+
before(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2830
|
+
|
2831
|
+
/**
|
2832
|
+
* Execute after running tests.
|
2833
|
+
*/
|
2834
|
+
after(fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2835
|
+
|
2836
|
+
/**
|
2837
|
+
* Execute after running tests.
|
2838
|
+
*/
|
2839
|
+
after(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2840
|
+
|
2841
|
+
/**
|
2842
|
+
* Execute before each test case.
|
2843
|
+
*/
|
2844
|
+
beforeEach(fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2845
|
+
|
2846
|
+
/**
|
2847
|
+
* Execute before each test case.
|
2848
|
+
*/
|
2849
|
+
beforeEach(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2850
|
+
|
2851
|
+
/**
|
2852
|
+
* Execute after each test case.
|
2853
|
+
*/
|
2854
|
+
afterEach(fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2855
|
+
|
2856
|
+
/**
|
2857
|
+
* Execute after each test case.
|
2858
|
+
*/
|
2859
|
+
afterEach(name: string, fn?: Mocha.Func | Mocha.AsyncFunc): void;
|
2860
|
+
|
2861
|
+
suite: SuiteFunctions;
|
2862
|
+
test: TestFunctions;
|
2863
|
+
}
|
2864
|
+
|
2865
|
+
interface CreateOptions {
|
2866
|
+
/** Title of suite */
|
2867
|
+
title: string;
|
2868
|
+
|
2869
|
+
/** Suite function */
|
2870
|
+
fn?: ((this: Mocha.Suite) => void) | undefined;
|
2871
|
+
|
2872
|
+
/** Is suite pending? */
|
2873
|
+
pending?: boolean | undefined;
|
2874
|
+
|
2875
|
+
/** Filepath where this Suite resides */
|
2876
|
+
file?: string | undefined;
|
2877
|
+
|
2878
|
+
/** Is suite exclusive? */
|
2879
|
+
isOnly?: boolean | undefined;
|
2880
|
+
}
|
2881
|
+
|
2882
|
+
interface SuiteFunctions {
|
2883
|
+
/**
|
2884
|
+
* Create an exclusive Suite; convenience function
|
2885
|
+
*/
|
2886
|
+
only(opts: CreateOptions): Mocha.Suite;
|
2887
|
+
|
2888
|
+
/**
|
2889
|
+
* Create a Suite, but skip it; convenience function
|
2890
|
+
*/
|
2891
|
+
skip(opts: CreateOptions): Mocha.Suite;
|
2892
|
+
|
2893
|
+
/**
|
2894
|
+
* Creates a suite.
|
2895
|
+
*/
|
2896
|
+
create(opts: CreateOptions): Mocha.Suite;
|
2897
|
+
}
|
2898
|
+
|
2899
|
+
interface TestFunctions {
|
2900
|
+
/**
|
2901
|
+
* Exclusive test-case.
|
2902
|
+
*/
|
2903
|
+
only(mocha: Mocha, test: Mocha.Test): Mocha.Test;
|
2904
|
+
|
2905
|
+
/**
|
2906
|
+
* Pending test case.
|
2907
|
+
*/
|
2908
|
+
skip(title: string): void;
|
2909
|
+
|
2910
|
+
/**
|
2911
|
+
* Number of retry attempts
|
2912
|
+
*/
|
2913
|
+
retries(n: number): void;
|
2914
|
+
}
|
2915
|
+
}
|
2916
|
+
}
|