diff --git a/packages/compat/test/fixtures.test.ts b/packages/compat/test/fixtures.test.ts index adafa862..9411f8da 100644 --- a/packages/compat/test/fixtures.test.ts +++ b/packages/compat/test/fixtures.test.ts @@ -6,7 +6,7 @@ import { describe, expect, it } from 'vitest' import getHighlighter from '../src' describe('fixtures', () => { - const files = import.meta.glob('./input/*.*', { as: 'raw', eager: true }) + const files = import.meta.glob('./input/*.*', { query: '?raw', import: 'default', eager: true }) const filter = process.env.FILTER Object .entries(files) diff --git a/packages/transformers/test/fixtures.test.ts b/packages/transformers/test/fixtures.test.ts index 5ea13232..bc3ef5de 100644 --- a/packages/transformers/test/fixtures.test.ts +++ b/packages/transformers/test/fixtures.test.ts @@ -60,7 +60,7 @@ body { margin: 0; } suite( 'diff', - import.meta.glob('./fixtures/diff/*.*', { as: 'raw', eager: true }), + import.meta.glob('./fixtures/diff/*.*', { query: '?raw', import: 'default', eager: true }), [transformerNotationDiff(), transformerRemoveLineBreak()], code => `${code}