-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
BugSomething isn't working.Something isn't working.
Description
Description
Cannot import and call Beta Distribution CDF function from ts-jest.
Related Issues
Might be related to #508?
Questions
No.
Demo
No response
Reproduction
- Set up a ts-jest project (docs).
- Create the following test.
- Run the test in Jest.
// confidence.test.ts
import cdf from "@stdlib/stats-base-dists-beta-cdf";
test("confidence", () => {
cdf(0.5, 1, 2);
});
Expected Results
Passing test + no error.
Actual Results
When running the test, I encounter the following error message:
(0 , stats_base_dists_beta_cdf_1.default) is not a function
TypeError: (0 , stats_base_dists_beta_cdf_1.default) is not a function
Version
0.0.7
Environments
Node.js
Browser Version
No response
Node.js / npm Version
20.0.0
Platform
Windows 11 build 22621.1848
Checklist
- Read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
Metadata
Metadata
Assignees
Labels
BugSomething isn't working.Something isn't working.