We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23871dd commit 6fd64b2Copy full SHA for 6fd64b2
1 file changed
tests/transform.test.ts
@@ -3,7 +3,7 @@ import { writeFile } from 'node:fs/promises'
3
import path from 'node:path'
4
import { pathToFileURL } from 'node:url'
5
import { testFixtures } from '@sxzz/test-utils'
6
-import { BindingMagicString } from 'rolldown'
+import { RolldownMagicString } from 'rolldown'
7
import { describe } from 'vitest'
8
import { transformQuansync } from '../src/core'
9
import type { RolldownString } from 'rolldown-string'
@@ -17,7 +17,7 @@ describe('transform', async () => {
17
import: 'default',
18
}),
19
async (args, id, code) => {
20
- const s = new BindingMagicString(code)
+ const s = new RolldownMagicString(code)
21
transformQuansync(s as any as RolldownString, id)
22
const result = s.toString()
23
if (!result) return result
0 commit comments