Merge branch 'setdata' of https://github.com/antvis/L7 into setdata

This commit is contained in:
thinkinggis 2020-01-13 23:23:20 +08:00
commit d31a8a1a0d
2 changed files with 2 additions and 12 deletions

View File

@ -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

View File

@ -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');
});
});