mirror of
https://github.com/hanzoai/vitest.git
synced 2026-10-30 14:46:34 +00:00
7 lines
204 B
JavaScript
7 lines
204 B
JavaScript
import { test, expect, inject } from 'vitest'
|
|
|
|
test('replaced variable is the same', () => {
|
|
const files = import.meta.glob('./generated/*')
|
|
expect(Object.keys(files)).toEqual(inject('generated'))
|
|
})
|