Skip to content

Commit 3e0b7da

Browse files
committed
chore: removes unnecessary notes
1 parent af5c97d commit 3e0b7da

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

src/index.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
import getCacheKey from './utils/get-cache-key';
22
import preprocess from './preprocess';
33

4-
//FIXME: options is always empty
54
const createTransformer = (options?: any): jest.Transformer => {
6-
// const cache = Object.create(null);
7-
// options = Object.assign({}, options, {
8-
// compact: false,
9-
// plugins: (options && options.plugins) || [],
10-
// presets: ((options && options.presets) || []).concat([jestPreset]),
11-
// sourceMaps: 'both',
12-
// });
13-
// delete options.cacheDirectory;
14-
// delete options.filename;
15-
5+
// options are always empty, must be the older jest API giving options here
166
return {
177
canInstrument: true,
188
getCacheKey,

src/utils/get-cache-key.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { MY_PACKAGE_CONTENT } from './constants';
55
import getBabelRC from './get-babel-rc';
66
import getTSConfig from './get-ts-config';
77

8-
// FIXME: remove dependency on config, it's empty
98
export default function getCacheKey(
109
fileData: string,
1110
filePath: string,

0 commit comments

Comments
 (0)