Re:Deno v1.8 – support for WebGPU, private modules, Intl, an...
by __jem on Wednesday March 03, 2021 @09:20AM
(#26328599)
What language runtime provides mocking/spy support? This seems excessively catered to IOC OO design, not the kind of thing a multi-paradigm language usually supports.
[ Parent
| on HN ]
Re:Deno v1.8 – support for WebGPU, private modules, Intl, an...
by e12e on Wednesday March 03, 2021 @09:37AM
(#26328830)
AFAIK deno ships with "test" as a sub command - having access to mock/spy seems reasonable in that context. It sort of follows from the "batteries included".
Just like deno bundles typescript - there is a reasonable expectation to track latest stable typescript features.