1 | // @remove-on-eject-begin
|
2 | /**
|
3 | * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
|
4 | *
|
5 | * This source code is licensed under the BSD-style license found in the
|
6 | * LICENSE file in the root directory of this source tree. An additional grant
|
7 | * of patent rights can be found in the PATENTS file in the same directory.
|
8 | */
|
9 | // @remove-on-eject-end
|
10 | ;
|
11 |
|
12 | // This is a custom Jest transformer turning style imports into empty objects.
|
13 | // http://facebook.github.io/jest/docs/tutorial-webpack.html
|
14 |
|
15 | module.exports = {
|
16 | process() {
|
17 | return 'module.exports = {};';
|
18 | },
|
19 | getCacheKey() {
|
20 | // The output is always the same.
|
21 | return 'cssTransform';
|
22 | },
|
23 | };
|