Skip to content
Permalink
Browse files

feat: update jsdom v15.0.0 to improve compatibility of browser simula…

…tion

Removed internal MutationObserver polyfill in favour of jsdom's offering.
Simpified and enhanced global vars creations for simulating browser environment, thank browser-env. It improves compatibility with other 3rd party libs in user's app, for example, global vars navigator/sessionStorage/localStorage are now available.
This also provides an alternative way to improve the compatibility of test setup in jest, comparing to aurelia/cli#1019.
  • Loading branch information
3cp committed Feb 6, 2019
1 parent 711664e commit dfc8b367085b46d2a6fed473cf515f51988adba3
@@ -32,3 +32,7 @@ To build the code, follow these steps.
npm test
```
5. You will find the compiled code in the `dist` folder in CommonJS module format.

# Acknowledgement

This software used a snippet borrowed from [browser-env](https://github.com/lukechilds/browser-env).

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit dfc8b36

Please sign in to comment.
You can’t perform that action at this time.