Skip to content

Commit

Permalink
fix(view): fix factory test
Browse files Browse the repository at this point in the history
  • Loading branch information
HandsomeButterball committed Apr 2, 2021
1 parent 448f9d4 commit b425a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gantt/src/views/test/factory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit b425a98

Please sign in to comment.