(
code: string,
options: Options = {},
filename = '/path/to/file.tsx'
)
| 3 | import {interpolateName} from '@formatjs/ts-transformer' |
| 4 | |
| 5 | function t( |
| 6 | code: string, |
| 7 | options: Options = {}, |
| 8 | filename = '/path/to/file.tsx' |
| 9 | ) { |
| 10 | const result = transform(code, filename, options) |
| 11 | return result?.code ?? code |
| 12 | } |
| 13 | |
| 14 | describe('@formatjs/unplugin transform', () => { |
| 15 | describe('id generation', () => { |
no test coverage detected