Skip to content

Commit 2ccacfe

Browse files
committed
fix tests and linting
Signed-off-by: Thomas Mäder <[email protected]>
1 parent 12017ab commit 2ccacfe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/plugin-ext/src/common/plugin-api-rpc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ export interface CommandProperties {
14441444
};
14451445
}
14461446

1447-
export type TaskGroupKind = 'build' | 'test' | 'rebuild' | 'clean'
1447+
export type TaskGroupKind = 'build' | 'test' | 'rebuild' | 'clean';
14481448
export interface TaskDto {
14491449
type: string;
14501450
taskType?: 'shell' | 'process' | 'customExecution'; // the task execution type

packages/plugin-ext/src/plugin/type-converters.spec.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import * as model from '../common/plugin-api-rpc-model';
2222
import { MarkdownString } from './markdown-string';
2323
import { MarkdownString as MarkdownStringInterface } from '@theia/core/lib/common/markdown-rendering';
2424
import { TaskDto } from '../common/plugin-api-rpc';
25-
import { TaskGroup } from './types-impl';
2625

2726
describe('Type converters:', () => {
2827

@@ -185,7 +184,7 @@ describe('Type converters:', () => {
185184
const args = ['run', 'build'];
186185
const cwd = '/projects/theia';
187186
const additionalProperty = 'some property';
188-
const group = TaskGroup.Build;
187+
const group = new types.TaskGroup('build', 'Build');
189188

190189
const shellTaskDto: TaskDto = {
191190
type: shellType,

0 commit comments

Comments
 (0)