aboutsummaryrefslogblamecommitdiff
path: root/config/jest/cssTransform.js
blob: 8f65114812a4e5726d2e4148cd15481c33e1cfec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                              
'use strict';

// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/en/webpack.html

module.exports = {
  process() {
    return 'module.exports = {};';
  },
  getCacheKey() {
    // The output is always the same.
    return 'cssTransform';
  },
};