You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was wondering if since F# is transpiled to javascript, wouldnt make sense , if one had the ability, to run tests in F# compiled code instead of transpiling them to js, to make the test run faster?
not sure how faster it could be, but potentially it could be faster maybe for big FE projects?
e.g. recently had to use this to try speed up a test suite - https://swc.rs/docs/usage/jest.
so running them in dotnet test, instead of npm test, i wonder if this could help be fast and make another use case for F# for tests instead of using js for it, giving an extra point to F# over typescript for example
The text was updated successfully, but these errors were encountered:
This has to get run as JS because it's interfacing with a JavaScript test runner. It would be great if you could run Fable tests directly with .NET, but then you'd have to have an F# implementation of every JavaScript library/API you use. So while I can't speak for the author's plans, I don't think this will ever happen.
i was wondering if since F# is transpiled to javascript, wouldnt make sense , if one had the ability, to run tests in F# compiled code instead of transpiling them to js, to make the test run faster?
not sure how faster it could be, but potentially it could be faster maybe for big FE projects?
e.g. recently had to use this to try speed up a test suite - https://swc.rs/docs/usage/jest.
so running them in
dotnet test
, instead ofnpm test
, i wonder if this could help be fast and make another use case for F# for tests instead of using js for it, giving an extra point to F# over typescript for exampleThe text was updated successfully, but these errors were encountered: