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
expect(messages.errors[0]).toContain('settings.json:3:5 - exec: "west": executable file not found in $PATH; review "cmsis-csolution.environmentVariables"');
175
176
});
177
+
178
+
it('creates Open Merge View code action for merge advisory diagnostics',async()=>{
])('parses merge advisory message for status %s',(status)=>{
26
+
constline=`file 'C:/workspace/RTE/CMSIS/RTX_Config.c' update ${status}; merge content from update file, rename update file to base file and remove previous base file`;
27
+
28
+
constparsed=parseMergeMessage(line);
29
+
30
+
expect(parsed).toEqual(expect.objectContaining({
31
+
localPath: 'C:/workspace/RTE/CMSIS/RTX_Config.c',
32
+
}));
33
+
expect(parsed?.matchLength).toBeGreaterThan(0);
34
+
});
35
+
36
+
it('returns undefined for non-merge message',()=>{
0 commit comments