mirror of https://gitee.com/antv-l7/antv-l7
Merge branch 'setdata' of https://github.com/antvis/L7 into setdata
This commit is contained in:
commit
d31a8a1a0d
|
@ -26,8 +26,8 @@ install:
|
|||
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||
- yarn install
|
||||
|
||||
# before_script:
|
||||
# - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
|
||||
before_script:
|
||||
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
|
||||
|
||||
script:
|
||||
- yarn lint
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
describe('template', () => {
|
||||
const el = document.createElement('div');
|
||||
el.id = 'test-div-id';
|
||||
el.innerHTML = 'hello L7';
|
||||
document.querySelector('body').appendChild(el);
|
||||
|
||||
it('div content', () => {
|
||||
expect(document.querySelector('#test-div-id').innerHTML).toBe('hello L7');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue