File size: 505 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* global jest */
jest.autoMockOff()
const defineTest = require('jscodeshift/dist/testUtils').defineTest

const fixtures = [
  'remove-import',
  'remove-import-renamed',
  'remove-import-single',
  'full-amp',
  'full-amp-inline',
  'full-amp-with-config',
  'full-amp-with-config-dupe',
  'full-amp-with-config-var',
  'hybrid-amp',
  'hybrid-amp-with-config',
]

for (const fixture of fixtures) {
  defineTest(
    __dirname,
    'withamp-to-config',
    null,
    `withamp-to-config/${fixture}`
  )
}