Update graph-spec.ts

This commit is contained in:
vellengs 2020-02-16 17:43:54 +08:00 committed by Yanyan Wang
parent 349b617e7e
commit 239cafac1c

View File

@ -22,7 +22,7 @@ describe('graph', () => {
it('invalid container', () => { it('invalid container', () => {
expect(() => { expect(() => {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
new Graph({} as any); // TODO: 不符合参数约定 new Graph({} as any);
}).toThrowError('invalid container'); }).toThrowError('invalid container');
}); });