fix/esm-js-extension-issue #207
Annotations
2 errors and 3 warnings
|
ESM Exports Tests > ESM Build Exports > should re-export getData from ESM index.js:
test/esm-exports.spec.ts#L29
Error: expect(received).toContain(expected) // indexOf
Expected substring: "export * from './lib/request'"
Received string: "export * from './lib/contentstack-core.js';
export * from './lib/types.js';
export * from './lib/contentstack-error.js';
export * from './lib/api-error.js';
export * from './lib/request.js';
export * from './lib/retryPolicy/delivery-sdk-handlers.js';
export * from './lib/error-messages.js';
//# sourceMappingURL=index.js.map"
at Object.<anonymous> (/home/runner/work/contentstack-js-core/contentstack-js-core/test/esm-exports.spec.ts:31:28)
at Promise.then.completed (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:333:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:91:9)
at _runTestsForDescribeBlock (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:91:9)
at run (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/contentstack-js-core/contentstack-js-core/node_modules/jest-runner/build/testWorker.js:133:12)
|
|
Analyze (typescript)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
|
Analyze (typescript)
Cache not found for keys: codeql-trap-1-2.23.8-javascript-beb6cd078bc3a0570a88fc17dcd8abaa32de64c2, codeql-trap-1-2.23.8-javascript-
|
|
Analyze (typescript)
Unable to validate code scanning workflow: MissingPushHook
|
|
Analyze (typescript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|