add test to ensure correct shared functions are being parsed

This commit is contained in:
undergroundwires
2021-02-08 07:10:41 +01:00
parent df273f7f63
commit d7de420d5c
5 changed files with 97 additions and 66 deletions

View File

@@ -55,4 +55,8 @@ export class ScriptDataStub implements ScriptData {
this.recommend = recommend;
return this;
}
public withRecommendationLevel(level: RecommendationLevel): ScriptDataStub {
this.recommend = RecommendationLevel[level].toLowerCase();
return this;
}
}