Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Feb 21, 2024
1 parent 62d37d7 commit 7d3fd55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions graph/__snapshots__/decl_deps_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ snapshot[`getDeclDeps() searches (aliased) references for a 1`] = `
Comp: Set(1) {
"Page",
},
CompAAA: Set(0) {},
InnerImport: Set(0) {},
Page: Set(1) {
"InnerImport",
},
a: Set(2) {
a: Set(3) {
"AliasedImport",
"Comp",
"aaa",
},
aaa: Set(1) {
"CompAAA",
},
}
`;
Expand All @@ -29,9 +34,10 @@ snapshot[`getDeclDeps() handles identical export names 1`] = `
"InnerImport (/d.tsx:5:22)",
},
"Unrelated (/b.tsx:9:22)": Set(0) {},
"a (/a.ts:2:22)": Set(2) {
"a (/a.ts:2:22)": Set(3) {
"AliasedImport (/d.tsx:6:22)",
"Comp (/b.tsx:5:22)",
"aaa (/a.ts:4:19)",
},
"a (/c.tsx:6:22)": Set(0) {},
"aaa (/a.ts:4:19)": Set(1) {
Expand Down
3 changes: 2 additions & 1 deletion graph/__snapshots__/graph_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ snapshot[`declDepsToGraph() converts declDeps into valid graph 1`] = `
{
"/a.ts": {
"a (/a.ts:2:22)": [
"Comp (/b.tsx:5:22)",
"AliasedImport (/d.tsx:6:22)",
"Comp (/b.tsx:5:22)",
"aaa (/a.ts:4:19)",
],
"aaa (/a.ts:4:19)": [
"CompAAA (/b.tsx:6:22)",
Expand Down

0 comments on commit 7d3fd55

Please sign in to comment.