Skip to content

Commit

Permalink
fix: update graphin test
Browse files Browse the repository at this point in the history
  • Loading branch information
zxc0328 committed Nov 20, 2019
1 parent b6f6afb commit 03aa50a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/graphin/src/layout/basic/__tests__/circle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const node = {
},
};

const data: Data = json;
const data: Data = json as any;

describe('Cricle Layout', () => {
it('Should return result that matches snapshot', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const concentricOptions2 = {
sweep: 0.1,
};

const data: Data = json;
const data: Data = json as any;

describe('Concentric Layout', () => {
it('Should return result that matches snapshot', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphin/src/layout/basic/__tests__/grid.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const gridLayoutOption = {
nodeSize: 50,
};

const data: Data = json;
const data: Data = json as any;

describe('Grid Layout', () => {
it('Should return result that matches snapshot', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphin/src/layout/g6/__tests__/dagre.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const defaultOptions = {
align: 'UL',
};

const data: Data = json;
const data: Data = json as any;

describe('Dagre Layout', () => {
it('Should return result that matches snapshot', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphin/src/layout/g6/__tests__/radial.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const defaultOptions = {
unitRadius: 150,
};

const data: Data = json;
const data: Data = json as any;

describe('Radial Layout', () => {
it('Should return result that matches snapshot', () => {
Expand Down

0 comments on commit 03aa50a

Please sign in to comment.