canvas-lms/jest
Ryan Shaw 3bad0a160b Remove add-module-exports babel plugin & use esModules
Closes: CORE-2868 CORE-2869

This is needed because without
Doing that, our bundle sizes are going to blow up from the things we
Import from InstUI

Test plan:
* the result of a dynamic export will now give you a object grab bag
  That has a “default” property. Not just the thing of whatever the
  “default" export was.
* so to test this, go to some page that does a dynamic import (like
  the dashboard page) and make sure that still works\

* run a prod build
* make sure that translations still work as before

Change-Id: I3dd1b32216052afd5fbc5d6cec40ea18264f65e9
Reviewed-on: https://gerrit.instructure.com/191578
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-05-03 22:49:58 +00:00
..
coffeeTransformer.js Upgrade to babel 7 & allow any js file to be themeable 2019-04-02 14:59:20 +00:00
handlebarsTransformer.js make jest support files that import handlebars 2019-03-22 15:38:23 +00:00
i18nTransformer.js Remove add-module-exports babel plugin & use esModules 2019-05-03 22:49:58 +00:00
imageMock.js Make core translations and svg imports available in jest 2018-11-29 16:09:47 +00:00
jest-setup.js clean up jest-setup 2019-03-21 19:36:57 +00:00