Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kit): allow finding virtual files with resolvePath and findPath #26465

Merged
merged 15 commits into from Apr 19, 2024
Merged
Prev Previous commit
Next Next commit
test: revert change to resolvePath test
  • Loading branch information
danielroe committed Apr 18, 2024
commit 65159dded098dcf92b12d5bd5904478e8619c7d6
2 changes: 1 addition & 1 deletion packages/kit/src/resolve.test.ts
Expand Up @@ -20,7 +20,7 @@ const nuxt = await loadNuxt({

describe('resolvePath', () => {
it('should resolve paths correctly', async () => {
expect(await resolvePath('.nuxt/app.config')).toBe(resolve(nuxt.options.buildDir, 'app.config.mjs'))
expect(await resolvePath('.nuxt/app.config')).toBe(resolve(nuxt.options.buildDir, 'app.config'))
})
})

Expand Down