diff --git a/packages/gantt/src/views/test/factory.spec.ts b/packages/gantt/src/views/test/factory.spec.ts index 4caa5d59..6fefb3be 100644 --- a/packages/gantt/src/views/test/factory.spec.ts +++ b/packages/gantt/src/views/test/factory.spec.ts @@ -21,7 +21,7 @@ describe('CreateViewFactory', () => { expect(quarterView).toEqual(jasmine.any(GanttViewQuarter)); }); - it(`should `, () => { + it(`should throw error`, () => { expect(() => { createViewFactory(GanttViewType.year, date.start, date.end); }).toThrow(new Error('gantt view type invalid'));