File size: 319 Bytes
b91e262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* global jest */
jest.autoMockOff()
const defineTest = require('jscodeshift/dist/testUtils').defineTest

const fixtures = [
  'missing-react-import-in-component'
]

for (const fixture of fixtures) {
  defineTest(
    __dirname,
    'add-missing-react-import',
    null,
    `add-missing-react-import/${fixture}`
  )
}