vitest/test/core/test/alias.test.ts
Vladimir 7c2138f2b0
feat: add alias option (#1634)
* chore: fix typeof check in error

* feat: add alias option

* Update test/core/vitest.config.ts
2022-07-19 17:44:21 +03:00

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)
})