Fix undefined date error while generating CSV report #44
Annotations
8 errors and 11 warnings
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L9
Mocks should not be manually imported from a __mocks__ directory. Instead use `jest.mock` and import from the original module path
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L63
'timeCreated' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1214
'hits' is never reassigned. Use 'const' instead
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1358
Replace `"Etc/GMT-2"` with `'Etc/GMT-2'`
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1496
Illegal usage of `fail`, prefer throwing an error, or the `done.fail` callback
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1574
Parameter name `source_kv` must match one of the following formats: camelCase, PascalCase
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1574
Parameter name `fields_kv` must match one of the following formats: camelCase, PascalCase
|
Lint
Process completed with exit code 1.
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, lots0logs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L55
Test has no assertions
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L61
Unexpected any. Specify a different type
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L104
Unexpected any. Specify a different type
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1456
Unexpected any. Specify a different type
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1456
Unexpected any. Specify a different type
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1463
Unexpected any. Specify a different type
|
Lint:
server/routes/utils/__tests__/savedSearchReportHelper.test.ts#L1574
Unexpected any. Specify a different type
|