Update mode-spec.ts

This commit is contained in:
vellengs 2020-02-13 11:26:56 +08:00 committed by Yanyan Wang
parent 311d65f6bb
commit a760197fa9

View File

@ -31,7 +31,7 @@ describe('Mode Controller', () => {
height: 100,
modes: {
default: ['drag'],
edit: ['canvans', 'zoom']
edit: ['canvas', 'zoom']
}
}
const graph: Graph = new Graph(cfg)
@ -50,7 +50,7 @@ describe('Mode Controller', () => {
height: 100,
modes: {
default: ['drag'],
edit: ['canvans', 'zoom']
edit: ['canvas', 'zoom']
}
}
const graph: Graph = new Graph(cfg)