the intl-messageformat polyfill does not support es6 modules as it is an IIFE invoked by .call(this) (and this is undefined in a module import tbh it should just be window). It works just fine if you move the intl-messageformat polyfill out of app-localize-behavior and into a script tag in the test file.
the
intl-messageformat
polyfill does not support es6 modules as it is an IIFE invoked by.call(this)
(and this is undefined in a module import tbh it should just be window). It works just fine if you move theintl-messageformat
polyfill out ofapp-localize-behavior
and into a script tag in the test file.