Skip to content

Commit 9f49b3d

Browse files
Apply TSDoc linter in e2e folder
1 parent 88e5440 commit 9f49b3d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

e2e/utils/SDKConsumerMode.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ const config = {
2323
* Function to run an example SDK in Consumer mode, in order to generate Events and Impressions
2424
* to be then processed by the Synchronizer.
2525
*
26-
* @param {ImpressionsMode} impressionsMode Impressions mode.
27-
* @returns {Promise}
26+
* @param impressionsMode - Impressions mode.
2827
*/
2928
export default function runSDKConsumer(impressionsMode: ImpressionsMode) {
3029
const factory = SplitFactory({

e2e/utils/redisAdapterWrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { noopLogger } from '../../src/submitters/__tests__/commonUtils';
77
* Creates a storage wrapper that uses our RedisAdapter.
88
* Operations fail until `connect` is resolved once the Redis 'ready' event is emitted.
99
*
10-
* @param {Object} redisOptions Redis options with the format expected at `settings.storage.options`.
11-
* @returns {IPluggableStorageWrapper} Storage wrapper instance.
10+
* @param redisOptions - Redis options with the format expected at `settings.storage.options`.
11+
* @returns Storage wrapper instance.
1212
*/
1313
export default function redisAdapterWrapper(redisOptions: Record<string, any>): IPluggableStorageWrapper {
1414

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"license": "Apache-2.0",
3737
"scripts": {
3838
"check": "npm run check:lint && npm run check:types",
39-
"check:lint": "eslint src types --ext .js,.ts",
39+
"check:lint": "eslint src types e2e --ext .js,.ts",
4040
"check:types": "tsc --noEmit",
4141
"build": "npm run build:esm && npm run build:cjs",
4242
"build:esm": "rimraf lib/esm && tsc -m es2015 --outDir lib/esm --importHelpers && scripts/build_esm_replace_imports.sh && replace @VERSION@ $npm_package_version lib/esm/settings/defaults.js",

0 commit comments

Comments
 (0)