cssTransform.js 547 Bytes
Newer Older
1
// @remove-on-eject-begin
Christoph Pojer's avatar
Christoph Pojer committed
2
/**
Sophie Alpert's avatar
Sophie Alpert committed
3
 * Copyright (c) 2014-present, Facebook, Inc.
Christoph Pojer's avatar
Christoph Pojer committed
4
 *
Sophie Alpert's avatar
Sophie Alpert committed
5
6
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
Christoph Pojer's avatar
Christoph Pojer committed
7
 */
8
// @remove-on-eject-end
9
'use strict';
Christoph Pojer's avatar
Christoph Pojer committed
10

11
// This is a custom Jest transformer turning style imports into empty objects.
vannio's avatar
vannio committed
12
// http://facebook.github.io/jest/docs/en/webpack.html
13
14
15
16
17

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