add github source #805
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
test/lib/sources/gitHubSource.test.ts > parseGitHubUrl > parses a FileUrl for file URL:
test/lib/sources/gitHubSource.test.ts#L132
AssertionError: expected { kind: 'file', …(7) } to deeply equal { kind: 'file', …(7) }
- Expected
+ Received
@@ -3,8 +3,8 @@
"branch": "branch",
"kind": "file",
"origin": "https://github.com",
"path": "/path/to/file.parquet",
"repo": "owner/repo",
- "resolveUrl": "https://raw.githubusercontent.com/owner/repo/refs/heads/branch/path/to/file.parquet",
+ "resolveUrl": "https://raw.githubusercontent.com/owner/repo/branch/path/to/file.parquet",
"source": "https://github.com/owner/repo/blob/branch/path/to/file.parquet",
}
❯ test/lib/sources/gitHubSource.test.ts:132:33
|