Skip to content

Commit 05fdff1

Browse files
committed
Intersphinx(test[snapshots]): Add inventory snapshot baseline
why: Snapshot tests need committed baselines to stay deterministic. what: - Add vitest snapshot for core intersphinx parser
1 parent 3abb928 commit 05fdff1

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2+
3+
exports[`parseInventory > parses a minimal intersphinx inventory 1`] = `
4+
{
5+
"baseUrl": "https://libtmux.git-pull.com/",
6+
"items": [
7+
{
8+
"baseUrl": "https://libtmux.git-pull.com/",
9+
"displayName": "libtmux",
10+
"domain": "py",
11+
"name": "libtmux",
12+
"priority": 1,
13+
"role": "module",
14+
"uri": "api.html#module-libtmux",
15+
"url": "https://libtmux.git-pull.com/api.html#module-libtmux",
16+
},
17+
{
18+
"baseUrl": "https://libtmux.git-pull.com/",
19+
"displayName": "libtmux.Server",
20+
"domain": "py",
21+
"name": "libtmux.Server",
22+
"priority": 1,
23+
"role": "class",
24+
"uri": "api.html#libtmux.Server",
25+
"url": "https://libtmux.git-pull.com/api.html#libtmux.Server",
26+
},
27+
],
28+
"project": "libtmux",
29+
"version": "0.36.0",
30+
}
31+
`;

0 commit comments

Comments
 (0)