You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it("shows notification when handling a missing default branch error",()=>{
100
+
it("shows notification when handling a missing default branch error with github.com URL",()=>{
100
101
conste=mockRequestError(422,{
101
102
message:
102
103
"Variant analysis failed because controller repository github/pickles does not have a branch 'main'. Please create a 'main' branch in the repository and re-run the variant analysis.",
"Variant analysis failed because the controller repository github/pickles does not have a branch 'main'. Please create a 'main' branch by clicking [here](https://github.com/github/pickles/new/main) and re-run the variant analysis query.",
116
117
);
117
118
});
119
+
120
+
it("shows notification when handling a missing default branch error with GHEC-DR URL",()=>{
121
+
conste=mockRequestError(422,{
122
+
message:
123
+
"Variant analysis failed because controller repository github/pickles does not have a branch 'main'. Please create a 'main' branch in the repository and re-run the variant analysis.",
"Variant analysis failed because the controller repository github/pickles does not have a branch 'main'. Please create a 'main' branch by clicking [here](https://tenant.ghe.com/github/pickles/new/main) and re-run the variant analysis query.",
Copy file name to clipboardExpand all lines: extensions/ql-vscode/test/vscode-tests/activated-extension/variant-analysis/variant-analysis-manager.test.ts
0 commit comments