We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b7fb8e commit cd61941Copy full SHA for cd61941
tests/source/resolve.test.ts
@@ -40,6 +40,21 @@ describe('relative', () => {
40
expectResolve('../inexistent.ts', false)
41
})
42
43
+describe('absolute', () => {
44
+ // TODO
45
+ // expectResolve('.gitignore', true)
46
+ expectResolve('package.json', true)
47
+ expectResolve('README.md', true)
48
49
+ // expectResolve('.github/dependabot.yml', true)
50
+ expectResolve('vitest.config.ts', true)
51
+ expectResolve('vitest.config', true)
52
+ expectResolve('src/index.ts', true)
53
+ expectResolve('src/index', true)
54
+
55
+ expectResolve('index.ts', false)
56
+})
57
58
describe('alias', () => {
59
expectResolve('@/index.ts', true)
60
expectResolve('@/index', true)
0 commit comments