mirror of
https://gitee.com/antv/g6.git
synced 2024-12-03 04:08:32 +08:00
Update graph-spec.ts
This commit is contained in:
parent
349b617e7e
commit
239cafac1c
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user