mirror of https://gitee.com/antv-l7/antv-l7
15 lines
363 B
TypeScript
15 lines
363 B
TypeScript
import { Map } from '../src/map';
|
|
describe('Map', () => {
|
|
const el = document.createElement('div');
|
|
el.id = 'test-div-id';
|
|
// el.style.width = '500px';
|
|
// el.style.height = '500px';
|
|
el.style.background = '#aaa';
|
|
document.querySelector('body')?.appendChild(el);
|
|
it('init Map', () => {
|
|
const map = new Map({
|
|
container: el,
|
|
});
|
|
});
|
|
});
|