123456789101112131415161718192021222324252627282930 |
- const { testTransform } = require('../test-helper');
- const transform = require('./transform');
- const input = `
- <script>
- export default {
- name: 'IndentedStyle'
- };
- </script>
- <style>
- .widget {
- color: red;
- }
- </style>
- `;
- const output = `
- <script>
- export default {};
- </script>
- <style>
- .widget {
- color: red;
- }
- </style>
- `;
- testTransform(transform, 'Widget.vue', input, output);
|