summaryrefslogtreecommitdiff
path: root/tests/unit/tls_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-05 13:49:07 +0100
committerGitHub <noreply@github.com>2024-09-05 12:49:07 +0000
commit794d347ec68fa969ffed231d0844a59a215d2344 (patch)
tree237b26bba35eb570683de86f68e0bff9bde162dd /tests/unit/tls_test.ts
parentdda63287456aae5cd4f7f428e23b52cb8c0005e5 (diff)
fix: add suggestion how to fix importing CJS module (#21764)
``` $ cat exports_error.js Object.defineProperty(exports, "__esModule", { value: true }); $ deno exports_error.js error: Uncaught (in promise) ReferenceError: exports is not defined Object.defineProperty(exports, "__esModule", { value: true }); ^ at file:///exports_error.js:1:23 info: Deno doesn't support CommonJS modules without `.cjs` extension. hint: Rewrite this module to ESM or change the file extension to `.cjs`. ```
Diffstat (limited to 'tests/unit/tls_test.ts')
0 files changed, 0 insertions, 0 deletions