Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 14, 2022
1 parent 0790656 commit 8f1e0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/transformer-compile-class.test.ts
Expand Up @@ -15,7 +15,7 @@ describe('transformer-compile-class', () => {

async function transform(code: string, _uno: UnoGenerator = uno) {
const s = new MagicString(code)
await transformer.transform(s, 'foo.js', { uno: _uno } as any)
await transformer.transform(s, 'foo.js', { uno: _uno, tokens: new Set() } as any)
const result = s.toString()
const { css } = await uno.generate(result, { preflights: false })
return {
Expand Down

0 comments on commit 8f1e0b9

Please sign in to comment.