mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
* chore: fix typeof check in error * feat: add alias option * Update test/core/vitest.config.ts
8 lines
209 B
TypeScript
8 lines
209 B
TypeScript
// @ts-expect-error aliased to ../src/aliased-mod.ts
|
|
import { isAliased } from 'test-alias'
|
|
import { expect, test } from 'vitest'
|
|
|
|
test('check that test.alias works', () => {
|
|
expect(isAliased).toBe(true)
|
|
})
|