transform.test.js 318 B

12345678910111213
  1. const { testTransform } = require('../test-helper');
  2. const transform = require('./transform');
  3. const input = `
  4. <template>
  5. <h1>This is just a template</h1>
  6. </template>
  7. `;
  8. // jscodeshift test utils represent a no-op transform as empty string
  9. const output = '';
  10. testTransform(transform, 'Widget.vue', input, output);