Azure/azure-kusto-node

e2e script does not run locally

seank-com opened this issue · 0 comments

running the following command in azure-kusto-ingest

npm run e2e

produces the following error

  1) Uncaught error outside test suite:
     Uncaught TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /mnt/c/repos/azure-kusto-node/azure-kusto-ingest/test/e2eTests/e2eTest.ts
      at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
      at Loader.getFormat (internal/modules/esm/loader.js:102:42)
      at Loader.getModuleJob (internal/modules/esm/loader.js:231:31)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
      at async Loader.import (internal/modules/esm/loader.js:165:17)

If this is expected, it should be mentioned in the CONTRIBUTING.ms
If this is not expected, it should be fixed and instructions for running it locally should be added to CONTRIBUTING.md