-
Notifications
You must be signed in to change notification settings - Fork 448
Expand file tree
/
Copy pathcommands.ts
More file actions
78 lines (64 loc) · 1.83 KB
/
commands.ts
File metadata and controls
78 lines (64 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import { Command, getExternalIcon, getIcon } from '@opensumi/ide-core-browser';
export const RuntTestCommand: Command = {
id: 'testing.run.test',
label: 'Run Test',
};
export const DebugTestCommand: Command = {
id: 'testing.debug.test',
label: 'Debug Test',
};
export const GoToTestCommand: Command = {
id: 'testing.goto.test',
label: 'Go To Test',
};
export const TestingRunCurrentFile: Command = {
id: 'testing.runCurrentFile',
label: 'Run Tests in Current File',
};
export const TestingDebugCurrentFile: Command = {
id: 'testing.debugCurrentFile',
label: 'Debug Tests in Current File',
};
export const PeekTestError: Command = {
id: 'testing.peek.test.error',
label: 'Peek Output',
};
export const ClosePeekTest: Command = {
id: 'testing.peek.test.close',
label: 'Close Peek Output',
};
export const GoToPreviousMessage: Command = {
id: 'testing.goToPreviousMessage',
label: 'Go to Previous Test Failure',
iconClass: getIcon('arrowup'),
};
export const GoToNextMessage: Command = {
id: 'testing.goToNextMessage',
label: 'Go to Next Test Failure',
iconClass: getIcon('arrowdown'),
};
export const ClearTestResults: Command = {
id: 'testing.clearTestResults',
label: 'Clear All Results',
iconClass: getExternalIcon('clear-all'),
};
export const OpenMessageInEditor: Command = {
id: 'testing.openMessageInEditor',
label: 'Open in Editor',
iconClass: getExternalIcon('link-external'),
};
export const RuntAllTestCommand: Command = {
id: 'testing.runAll',
label: 'Run All Test',
iconClass: getExternalIcon('run-all'),
};
export const DebugAllTestCommand: Command = {
id: 'testing.debugAll',
label: 'Debug All Test',
iconClass: getIcon('debug-alt-small'),
};
export const RefreshTestsCommand: Command = {
id: 'testing.refresshTests',
label: 'Refresh Tests',
iconClass: getIcon('refresh'),
};