Skip to content

Add unit tests for Date, Duration, and Number units #5353

Add unit tests for Date, Duration, and Number units

Add unit tests for Date, Duration, and Number units #5353

Triggered via pull request October 28, 2023 17:57
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
Build, test, lint
45s
Build, test, lint
Coverage
47s
Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Build, test, lint
@quri/squiggle-lang#build:ts: command (/home/runner/work/squiggle/squiggle/packages/squiggle-lang) pnpm run build:ts exited (1)
Build, test, lint
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../src/utility/DateTime.js'?
Build, test, lint
Parameter 't' implicitly has an 'any' type.
Build, test, lint
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
Build, test, lint
Process completed with exit code 1.
Coverage
@quri/squiggle-lang#build: command (/home/runner/work/squiggle/squiggle/packages/squiggle-lang) pnpm run build exited (1)
Coverage
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../src/utility/DateTime.js'?
Coverage
Parameter 't' implicitly has an 'any' type.
Coverage
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
Coverage
Process completed with exit code 1.
Build, test, lint: packages/components/src/components/Calculator/index.tsx#L104
React Hook useEffect has a missing dependency: '_processAllFieldCodes'. Either include it or remove the dependency array
Build, test, lint: packages/components/src/components/Calculator/index.tsx#L132
React Hook useEffect has missing dependencies: '_processAllFieldCodes', 'calculatorState', 'environment', 'path', and 'prevCalculator'. Either include them or remove the dependency array
Build, test, lint: packages/components/src/components/SquiggleViewer/ViewerProvider.tsx#L343
React Hook useCallback has missing dependencies: 'setCollapsed' and 'setLocalItemState'. Either include them or remove the dependency array