Better support for testing from engines

peter miller fuchsia.groan at virgin.net
Tue Jul 2 10:25:56 UTC 2019


Hi Adam,

I've not used import maps yet myself (https://github.com/WICG/import-maps)  
but they'd probably allow you to swap an imported module for a dummy. Or  
you could swizzle them with a service worker.

Obviously, there are much easier ways of handling your toy example. But I  
appreciate that real world cases tend to be "non-trivial".

Peter


More information about the es-discuss mailing list