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 a388dbb commit 89509f7Copy full SHA for 89509f7
test/nuxt/composables/use-repository-url.spec.ts
@@ -1,14 +1,5 @@
1
import { describe, expect, it } from 'vitest'
2
3
-/**
4
- * Tests for useRepositoryUrl composable.
5
- *
6
- * Regression tests for GitHub issue #2233: monorepo packages with .git suffix
7
- * in repository.url generated broken source links like:
8
- * https://github.com/org/repo.git/tree/HEAD/packages/foo (404)
9
- * instead of:
10
- * https://github.com/org/repo/tree/HEAD/packages/foo
11
- */
12
describe('useRepositoryUrl', () => {
13
it('should strip .git from repository URL', () => {
14
const { repositoryUrl } = useRepositoryUrl(
0 commit comments