1
Fork 0

Add test to ensure that keywords in path are working

This commit is contained in:
Guillaume Gomez 2022-04-18 21:05:21 +02:00
parent 299e8ee25e
commit 5c6c1e110f

View file

@ -1,4 +1,4 @@
const QUERY = ['A::B', 'A::B,C', 'A::B<f>,C'];
const QUERY = ['A::B', 'A::B,C', 'A::B<f>,C', 'mod::a'];
const PARSED = [
{
@ -72,4 +72,19 @@ const PARSED = [
userQuery: 'a::b<f>,c',
error: null,
},
{
elems: [{
name: "mod::a",
fullPath: ["mod", "a"],
pathWithoutLast: ["mod"],
pathLast: "a",
generics: [],
}],
foundElems: 1,
original: "mod::a",
returned: [],
typeFilter: -1,
userQuery: "mod::a",
error: null,
},
];