Skip to content

add includeDependencies option to JavaScriptFileExport getText method #1377

add includeDependencies option to JavaScriptFileExport getText method

add includeDependencies option to JavaScriptFileExport getText method #1377

Triggered via push February 4, 2025 08:43
Status Failure
Total duration 57s
Artifacts

test.yml

on: push
build-and-test
46s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
Unhandled error: packages/renoun/src/utils/get-file-export-text.ts#L24
Error: [renoun] Source file not found: /index.ts ❯ getFileExportText src/utils/get-file-export-text.ts:24:11 ❯ src/project/client.ts:226:14 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/file-system/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "uses first file found when no file extension present". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/file-system/index.test.ts > file system > file export metadata: packages/renoun/src/file-system/index.test.ts#L1017
AssertionError: expected Promise{…} to be 'export default function hello() {}' // Object.is equality - Expected: "export default function hello() {}" + Received: Promise {} ❯ src/file-system/index.test.ts:1017:34
build-and-test
Process completed with exit code 1.
build-and-test
The `save-state` 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/
build-and-test
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/
build-and-test
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/