mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
17 lines
319 B
JavaScript
17 lines
319 B
JavaScript
/* 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}`
|
|
)
|
|
}
|