testSetup.js 248 B

1234567
  1. // This file isn't transpiled, so must use CommonJS and ES5
  2. // Register babel to transpile before our tests run.
  3. require('@babel/register')();
  4. // Disable webpack features that Mocha doesn't understand.
  5. require.extensions['.css'] = function() {};